The remote address is $5 and not $4.

/ppp-2.4.3/scripts/ipv6-up.sample
# This script is called with the following parameters: # interface tty speed local-address remote-address ipparam

Signed-off-by: Alina Friedrichsen <[EMAIL PROTECTED]>

Index: package/ppp/files/etc/ppp/ipv6-up
===================================================================
--- package/ppp/files/etc/ppp/ipv6-up   (Revision 11992)
+++ package/ppp/files/etc/ppp/ipv6-up   (Arbeitskopie)
@@ -1,6 +1,6 @@
#!/bin/sh

-gw=$4
+gw=$5
dev=$1
cfg=$6

Index: package/ppp/files/etc/ppp/ipv6-down
===================================================================
--- package/ppp/files/etc/ppp/ipv6-down (Revision 11992)
+++ package/ppp/files/etc/ppp/ipv6-down (Arbeitskopie)
@@ -1,6 +1,6 @@
#!/bin/sh

-gw=$4
+gw=$5
dev=$1
cfg=$6



Index: package/ppp/files/etc/ppp/ipv6-up
===================================================================
--- package/ppp/files/etc/ppp/ipv6-up	(Revision 11992)
+++ package/ppp/files/etc/ppp/ipv6-up	(Arbeitskopie)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-gw=$4
+gw=$5
 dev=$1
 cfg=$6
 
Index: package/ppp/files/etc/ppp/ipv6-down
===================================================================
--- package/ppp/files/etc/ppp/ipv6-down	(Revision 11992)
+++ package/ppp/files/etc/ppp/ipv6-down	(Arbeitskopie)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-gw=$4
+gw=$5
 dev=$1
 cfg=$6
 
_______________________________________________
openwrt-devel mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to