summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-05-15 20:33:46 -0500
committerChris Buechler <cmb@pfsense.org>2016-05-15 20:34:06 -0500
commit0876ed6cfb7d0cd1c16c23f51e69b5b504b6c9fe (patch)
treeae058a96772cbb255eeb1d7dfe945e7ad91eb250
parent223ebd3f148b9f3ee8e29536af78d5ecc6e5bfbb (diff)
downloadpfsense-0876ed6cfb7d0cd1c16c23f51e69b5b504b6c9fe.zip
pfsense-0876ed6cfb7d0cd1c16c23f51e69b5b504b6c9fe.tar.gz
Fix script name in error log
-rw-r--r--src/etc/inc/interfaces.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc
index 9d18535..861eeac 100644
--- a/src/etc/inc/interfaces.inc
+++ b/src/etc/inc/interfaces.inc
@@ -4007,7 +4007,7 @@ function interface_dhcpv6_configure($interface = "wan", $wancfg) {
$rtsoldscript .= "/usr/bin/logger -t rtsold \"Starting dhcp6 client for interface {$interface}({$wanif})\"\n";
/* Add wide-dhcp6c shell script here. Because we can not pass a argument to it. */
if (!@file_put_contents("{$g['varetc_path']}/rtsold_{$wanif}_script.sh", $rtsoldscript)) {
- printf("Error: cannot open rtsold_{$interface}_script.sh in interface_dhcpv6_configure() for writing.\n");
+ printf("Error: cannot open rtsold_{$wanif}_script.sh in interface_dhcpv6_configure() for writing.\n");
unset($rtsoldscript);
return 1;
}
OpenPOWER on IntegriCloud