Changeset 36904


Ignore:
Timestamp:
2013-06-10T12:42:34+02:00 (5 years ago)
Author:
cyrus
Message:

ppp: correctly handle address when reloading

Location:
trunk/package/network/services/ppp
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/network/services/ppp/Makefile

    r35188 r36904  
    1111PKG_NAME:=ppp 
    1212PKG_VERSION:=2.4.5 
    13 PKG_RELEASE:=9 
     13PKG_RELEASE:=10 
    1414 
    1515PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz 
  • trunk/package/network/services/ppp/files/lib/netifd/ppp-up

    r35188 r36904  
    66proto_set_keep 1 
    77[ -n "$PPP_IPPARAM" ] && { 
    8         [ -n "$IPLOCAL" ] && proto_add_ipv4_address "$IPLOCAL" 32 
     8        [ -n "$IPLOCAL" ] && proto_add_ipv4_address "$IPLOCAL" 32 "" "${IPREMOTE:-2.2.2.2}" 
    99        [ -n "$IPREMOTE" ] && proto_add_ipv4_route 0.0.0.0 0 "$IPREMOTE" 
    1010        [ -n "$LLLOCAL" ] && proto_add_ipv6_address "$LLLOCAL" 128 
Note: See TracChangeset for help on using the changeset viewer.