summaryrefslogtreecommitdiffstats
path: root/etc/rc.dyndns.update
diff options
context:
space:
mode:
Diffstat (limited to 'etc/rc.dyndns.update')
-rwxr-xr-xetc/rc.dyndns.update2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.dyndns.update b/etc/rc.dyndns.update
index 87c6af9..a84cadd 100755
--- a/etc/rc.dyndns.update
+++ b/etc/rc.dyndns.update
@@ -36,7 +36,7 @@ require_once("shaper.inc");
/* Interface IP address has changed */
-$argument = str_replace("\n", "", $argv[1]);
+$argument = trim($argv[1], " \n");
if(empty($argument))
services_dyndns_configure();
OpenPOWER on IntegriCloud