summaryrefslogtreecommitdiff
path: root/scripts/dns-forwarding
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-08-30 19:43:13 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-08-30 19:43:13 +0000
commitb6abe2203c48d45859cd75ad0010bcfba68d7866 (patch)
treefba32ba88710a3d21f346bcf77ce2eb281b691fd /scripts/dns-forwarding
parent0740e78bcdea29ca5fb34ab3fb05edbcf3aaf3e6 (diff)
downloadvyatta-cfg-quagga-b6abe2203c48d45859cd75ad0010bcfba68d7866.tar.gz
vyatta-cfg-quagga-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.pl3
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;