diff options
Diffstat (limited to 'net-mgmt/rancid3/files/patch-lib_edgemax.pm.in')
-rw-r--r-- | net-mgmt/rancid3/files/patch-lib_edgemax.pm.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net-mgmt/rancid3/files/patch-lib_edgemax.pm.in b/net-mgmt/rancid3/files/patch-lib_edgemax.pm.in new file mode 100644 index 000000000000..1e7b176f5f89 --- /dev/null +++ b/net-mgmt/rancid3/files/patch-lib_edgemax.pm.in @@ -0,0 +1,17 @@ +--- lib/edgemax.pm.in.orig 2025-05-19 13:16:15 UTC ++++ lib/edgemax.pm.in +@@ -237,9 +237,11 @@ sub WriteTerm { + next if (/^\s*$/); + $linecnt++; + +- /^!current configuration\s*:/i && next; +- /^!system (description|software|up\s?time)/i && next; +- /^!current sntp synch/i && next; ++ /^!\s?current configuration\s*:/i && next; ++ /^!\s?system (description|software|up\s?time)/i && next; ++ /^!\s?current sntp synch/i && next; ++ /^!\s?config created time/i && next; ++ /^show running-config/ && next; + /^$/ && next; # blank lines + + /^ length / && next; # kill length on serial lines |