diff options
author | jim-p <jimp@pfsense.org> | 2010-05-13 11:41:09 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-05-13 11:41:51 -0400 |
commit | 99b9708b2f2d9ede510a1fe0b16dfdb2cfa998aa (patch) | |
tree | df0706882b82935efdf9c6740cbefa418c7ba93b | |
parent | fe19e7d7920cfcfa6437b1617b9586c29d0bd49b (diff) | |
download | pfsense-99b9708b2f2d9ede510a1fe0b16dfdb2cfa998aa.zip pfsense-99b9708b2f2d9ede510a1fe0b16dfdb2cfa998aa.tar.gz |
Fix static route for DNS from DHCP servers.
-rwxr-xr-x | sbin/dhclient-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/dhclient-script b/sbin/dhclient-script index 8d10af5..5ef88ea 100755 --- a/sbin/dhclient-script +++ b/sbin/dhclient-script @@ -189,7 +189,7 @@ add_new_resolv_conf() { # so that mulitple wans work correctly with multiple dns # also backup the nameserver for later route removal echo $nameserver >>/var/etc/nameserver_$interface - route add $nameserver -if $interface + route add $nameserver -iface $interface done echo $new_domain_name >/var/etc/defaultdomain.conf fi |