summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-11-10 14:38:37 (GMT)
committerErmal <eri@pfsense.org>2014-11-10 14:38:37 (GMT)
commitc87d89ae9ff2cb1b50c89c7605a56e1063bafddd (patch)
treea670fef259446501530aa0543cce32531993d070
parent6f55af1c25f5232ffe905a90f5f97aad4c87bdfa (diff)
downloadunivnautes-c87d89ae9ff2cb1b50c89c7605a56e1063bafddd.zip
univnautes-c87d89ae9ff2cb1b50c89c7605a56e1063bafddd.tar.gz
univnautes-c87d89ae9ff2cb1b50c89c7605a56e1063bafddd.tar.bz2
Lets put a logging to see what is bing passed to the rtsold script on calling. Helps with Ticket #3361
-rw-r--r--etc/inc/interfaces.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 97ef517..576b3aa 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -3689,6 +3689,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
$rtsoldscript .= "# This shell script launches dhcp6c and configured gateways for this interface.\n";
$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_routerv6\n";
$rtsoldscript .= "echo $2 > {$g['tmp_path']}/{$wanif}_defaultgwv6\n";
+ $rtsoldscript .= "/usr/bin/logger -t rtsold \"Recieved RA specifying route \$2 for interface {$interface}({$wanif})\"\n";
$rtsoldscript .= "if [ -f {$g['varrun_path']}/dhcp6c_{$wanif}.pid ]; then\n";
$rtsoldscript .= "\t/bin/pkill -F {$g['varrun_path']}/dhcp6c_{$wanif}.pid\n";
$rtsoldscript .= "\t/bin/sleep 1\n";