Changeset 28632


Ignore:
Timestamp:
2011-10-27T22:28:42+02:00 (6 years ago)
Author:
nbd
Message:

netifd: update, prefix proto handler callbacks with 'proto_'

Location:
trunk/package/netifd
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/netifd/Makefile

    r28629 r28632  
    88PKG_SOURCE_URL:=git://nbd.name/luci2/netifd.git 
    99PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) 
    10 PKG_SOURCE_VERSION:=3c1a5bf324c8f2476239c4e49687ca252d3bf4c8 
     10PKG_SOURCE_VERSION:=24ccfe7d353ceb0ee4f8d4967604585de92fc9d0 
    1111PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz 
    1212# PKG_MIRROR_MD5SUM:= 
  • trunk/package/netifd/files/lib/netifd/proto/ppp.sh

    r28631 r28632  
    9191# PPP on serial device 
    9292 
    93 ppp_init_config() { 
     93proto_ppp_init_config() { 
    9494        proto_config_add_string "device" 
    9595        ppp_generic_init_config 
     
    9898} 
    9999 
    100 ppp_setup() { 
     100proto_ppp_setup() { 
    101101        local config="$1" 
    102102 
     
    105105} 
    106106 
    107 ppp_teardown() { 
     107proto_ppp_teardown() { 
    108108        ppp_generic_teardown "$@" 
    109109} 
    110110 
    111 pppoe_init_config() { 
     111proto_pppoe_init_config() { 
    112112        ppp_generic_init_config 
    113113        proto_config_add_string "ac" 
     
    115115} 
    116116 
    117 pppoe_setup() { 
     117proto_pppoe_setup() { 
    118118        local config="$1" 
    119119        local iface="$2" 
     
    136136} 
    137137 
    138 pppoe_teardown() { 
     138proto_pppoe_teardown() { 
    139139        ppp_generic_teardown "$@" 
    140140} 
    141141 
    142 pppoa_init_config() { 
     142proto_pppoa_init_config() { 
    143143        ppp_generic_init_config 
    144144        proto_config_add_int "atmdev" 
     
    148148} 
    149149 
    150 pppoa_setup() { 
     150proto_pppoa_setup() { 
    151151        local config="$1" 
    152152        local iface="$2" 
     
    172172} 
    173173 
    174 pppoa_teardown() { 
     174proto_pppoa_teardown() { 
    175175        ppp_generic_teardown "$@" 
    176176} 
Note: See TracChangeset for help on using the changeset viewer.