Ensure that interfaces listed in the proxyarp (proxyndp) file are known

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2010-12-11 10:13:35 -08:00
parent 6bec7d099c
commit b5e4996522

View File

@ -117,6 +117,9 @@ sub setup_proxy_arp() {
$first_entry = 0;
}
fatal_error "Unknown interface ($interface)" unless known_interface $interface;
fatal_error "Unknown interface ($external)" unless known_interface $external;
my $physical = physical_name $interface;
my $extphy = physical_name $external;