diff options
author | Stig Thormodsrud <stig@vyatta.com> | 2008-05-06 14:32:48 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@vyatta.com> | 2008-05-06 14:32:48 -0700 |
commit | 762315a293866b7b4c5fc3ca7c7470035a8e3854 (patch) | |
tree | 95103942aaac128801a9477206d3e65a885b911f /scripts | |
parent | 2471813598d00698701b5d6798c0a03d73288488 (diff) | |
download | vyatta-cfg-762315a293866b7b4c5fc3ca7c7470035a8e3854.tar.gz vyatta-cfg-762315a293866b7b4c5fc3ca7c7470035a8e3854.zip |
Only check for dhcp client on eth, vlan, and bridge.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-interfaces.pl | 6 |
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) { |