diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-21 17:31:55 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-21 17:31:55 +0000 |
commit | 771df54ef12e43bbdc9b38567135f95f98d96945 (patch) | |
tree | 2ed940b1ab0db01616d8979506c26d80db1f551f /etc/rc.dyndns.update | |
parent | 2ec2a374685c2141f4825097057a0496a4d45bc3 (diff) | |
download | pfsense-771df54ef12e43bbdc9b38567135f95f98d96945.zip pfsense-771df54ef12e43bbdc9b38567135f95f98d96945.tar.gz |
More fine grained update of dyndns and dnsupdate.
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(); |