diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:00:05 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-12-21 00:00:05 -0500 |
commit | 29e6e88b80bf30fc4245485c0d8cdef66d95b410 (patch) | |
tree | 76e3fc3935fefa439577352b900e12fc4e44e12c /sbin/ppp-script | |
parent | 58a52416d0fd8876dd81757ac43a033d7a85b12c (diff) | |
download | pfsense-29e6e88b80bf30fc4245485c0d8cdef66d95b410.zip pfsense-29e6e88b80bf30fc4245485c0d8cdef66d95b410.tar.gz |
use correct gateway IP for PPP
Diffstat (limited to 'sbin/ppp-script')
-rwxr-xr-x | sbin/ppp-script | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ppp-script b/sbin/ppp-script index 0aa7ced..e0caffa 100755 --- a/sbin/ppp-script +++ b/sbin/ppp-script @@ -1,7 +1,7 @@ #!/bin/sh # Set the router for this interface -/sbin/ifconfig $2 | grep "$1" | awk '{ print $2 }' > /tmp/$2_router +/sbin/ifconfig $2 | grep "$1" | awk '{ print $4 }' > /tmp/$2_router # Remove file if it exists if [ -f /var/etc/nameserver_$2 ]; then |