diff options
Diffstat (limited to 'etc/rc.dyndns.update')
-rwxr-xr-x | etc/rc.dyndns.update | 2 |
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(); |