diff --git a/debian/patches/15_check_snmp_int_spaces b/debian/patches/15_check_snmp_int_spaces index 22fdac1..bc0cc7a 100644 --- a/debian/patches/15_check_snmp_int_spaces +++ b/debian/patches/15_check_snmp_int_spaces @@ -7,11 +7,9 @@ Subject: [PATCH] Add spaces only if necessary, resolving bug #32 plugins/check_snmp_int.pl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) -diff --git a/plugins/check_snmp_int.pl b/plugins/check_snmp_int.pl -index e938131..6e42163 100755 --- a/plugins/check_snmp_int.pl +++ b/plugins/check_snmp_int.pl -@@ -718,7 +718,7 @@ sub check_options { +@@ -777,7 +777,7 @@ # make all checks and output for all interfaces for (my $i = 0; $i < $num_int; $i++) { $print_out .= ", " if (defined($print_out)); @@ -20,9 +18,9 @@ index e938131..6e42163 100755 my $usable_data = 1; # Get the status of the current interface -@@ -726,7 +726,10 @@ sub check_options { +@@ -785,7 +785,10 @@ = defined($o_admin) - ? $$result{ $admin_table . $tindex[$i] } + ? $$result{ $admin_table . "." . $tindex[$i] } : $$result{ $oper_table . $tindex[$i] }; - + diff --git a/debian/patches/18_check_snmp_int_fix_perf_out b/debian/patches/18_check_snmp_int_fix_perf_out index 59bc9c7..08bc256 100644 --- a/debian/patches/18_check_snmp_int_fix_perf_out +++ b/debian/patches/18_check_snmp_int_fix_perf_out @@ -7,11 +7,9 @@ Subject: [PATCH] fix perf_out not defined error plugins/check_snmp_int.pl | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -diff --git a/plugins/check_snmp_int.pl b/plugins/check_snmp_int.pl -index 6e42163..1f0cdc2 100755 --- a/plugins/check_snmp_int.pl +++ b/plugins/check_snmp_int.pl -@@ -993,24 +993,25 @@ sub check_options { +@@ -1053,24 +1053,25 @@ # Check if all interface are OK if ($num_ok == $num_int) {