Skip to content

Commit 29e6e88

Browse files
author
Chris Buechler
committed
use correct gateway IP for PPP
1 parent 58a5241 commit 29e6e88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbin/ppp-script

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22

33
# Set the router for this interface
4-
/sbin/ifconfig $2 | grep "$1" | awk '{ print $2 }' > /tmp/$2_router
4+
/sbin/ifconfig $2 | grep "$1" | awk '{ print $4 }' > /tmp/$2_router
55

66
# Remove file if it exists
77
if [ -f /var/etc/nameserver_$2 ]; then

0 commit comments

Comments
 (0)