From 94442abfcfc6378114c6281c269f7163a1726a39 Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Thu, 28 Jan 2016 10:34:16 -0800 Subject: [PATCH] Correct check for duplicate interface in providers Signed-off-by: Tom Eastep --- Shorewall/Perl/Shorewall/Providers.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Providers.pm b/Shorewall/Perl/Shorewall/Providers.pm index 1be02f4c7..056c29e07 100644 --- a/Shorewall/Perl/Shorewall/Providers.pm +++ b/Shorewall/Perl/Shorewall/Providers.pm @@ -650,7 +650,7 @@ sub process_a_provider( $ ) { $balance = $default_balance unless $balance; - fatal_error "Interface $interface is already associated with non-shared provider $provider_interfaces{$interface}" if $provider_interfaces{$table}; + fatal_error "Interface $interface is already associated with non-shared provider $provider_interfaces{$interface}" if $provider_interfaces{$interface}; if ( $duplicate ne '-' ) { fatal_error "The DUPLICATE column must be empty when USE_DEFAULT_RT=Yes" if $config{USE_DEFAULT_RT};