summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xscripts/vyatta-interfaces.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/scripts/vyatta-interfaces.pl b/scripts/vyatta-interfaces.pl
index 020fe28..ec3a873 100755
--- a/scripts/vyatta-interfaces.pl
+++ b/scripts/vyatta-interfaces.pl
@@ -229,7 +229,11 @@ sub is_dhcp_enabled {
} elsif ($intf =~ m/^br/) {
$config->setLevel("interfaces bridge $intf");
} else {
- die "unsupported dhcp interface [$intf]";
+ #
+ # currently we only support dhcp on ethernet
+ # and bridge interfaces.
+ #
+ return 0;
}
my @addrs = $config->returnOrigValues("address");
foreach my $addr (@addrs) {