diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-30 19:43:13 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-08-30 19:43:13 +0000 |
commit | b6abe2203c48d45859cd75ad0010bcfba68d7866 (patch) | |
tree | fba32ba88710a3d21f346bcf77ce2eb281b691fd /scripts/dns-forwarding | |
parent | 0740e78bcdea29ca5fb34ab3fb05edbcf3aaf3e6 (diff) | |
download | vyatta-cfg-system-b6abe2203c48d45859cd75ad0010bcfba68d7866.tar.gz vyatta-cfg-system-b6abe2203c48d45859cd75ad0010bcfba68d7866.zip |
released interface should be flagged as a warning rather than a commit failed
Diffstat (limited to 'scripts/dns-forwarding')
-rw-r--r-- | scripts/dns-forwarding/vyatta-dns-forwarding.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/dns-forwarding/vyatta-dns-forwarding.pl b/scripts/dns-forwarding/vyatta-dns-forwarding.pl index 08cea70a..ef6572d0 100644 --- a/scripts/dns-forwarding/vyatta-dns-forwarding.pl +++ b/scripts/dns-forwarding/vyatta-dns-forwarding.pl @@ -243,8 +243,7 @@ sub check_dhcp_interface { if (-e "/var/run/vyatta/dhclient/dhclient_release_$interface") { # dhcp released for the interface - print "DNS forwarding error: DHCP lease for $interface has been released by user\n"; - return 0; + print "DNS forwarding warning: DHCP lease for $interface has been released by user\n"; } return 1; |