|
From: <abe...@us...> - 2017-06-07 12:11:27
|
Revision: 8378
http://sourceforge.net/p/astlinux/code/8378
Author: abelbeck
Date: 2017-06-07 12:11:24 +0000 (Wed, 07 Jun 2017)
Log Message:
-----------
wide-dhcpv6, dhcp6c.script, no longer require 'dhcp6c_prefix' to have a value to log and update the NPTv6 plugin, loosing the prefix should also be logged and handled by the plugin
Modified Paths:
--------------
branches/1.0/package/wide-dhcpv6/dhcp6c.script
Modified: branches/1.0/package/wide-dhcpv6/dhcp6c.script
===================================================================
--- branches/1.0/package/wide-dhcpv6/dhcp6c.script 2017-06-07 11:47:22 UTC (rev 8377)
+++ branches/1.0/package/wide-dhcpv6/dhcp6c.script 2017-06-07 12:11:24 UTC (rev 8378)
@@ -133,18 +133,16 @@
## Create dhcp6c_cache file
setup_env
-if [ -n "$dhcp6c_prefix" ]; then
- case "$dhcp6c_changed" in
- yes) changed=" (changed)" ;;
- no) changed=" (no change)" ;;
- *) changed="" ;;
- esac
- logger -t dhcp6c -p kern.info "IPv6 Prefix$changed: $dhcp6c_prefix"
+case "$dhcp6c_changed" in
+ yes) changed=" (changed)" ;;
+ no) changed=" (no change)" ;;
+ *) changed="" ;;
+esac
+logger -t dhcp6c -p kern.info "IPv6 Prefix$changed: $dhcp6c_prefix"
- if [ "$dhcp6c_changed" != "no" ]; then
- if [ -f /var/tmp/aif-net-prefix-translation-global-ipv6 ]; then
- arno-iptables-firewall status-plugins net-prefix-translation >/dev/null 2>&1
- fi
+if [ "$dhcp6c_changed" != "no" ]; then
+ if [ -f /var/tmp/aif-net-prefix-translation-global-ipv6 ]; then
+ arno-iptables-firewall status-plugins net-prefix-translation >/dev/null 2>&1
fi
fi
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|