Changeset 25896


Ignore:
Timestamp:
2011-03-06T19:56:54+01:00 (7 years ago)
Author:
cshore
Message:

[packages] miniupnpd: Add uci option for manually specified external IP

File:
1 edited

Legend:

Unmodified
Added
Removed
  • packages/net/miniupnpd/files/miniupnpd.init

    r25251 r25896  
    88        config_load "upnpd" 
    99        local extiface intiface upload download logging secure enabled natpmp 
     10        local extip 
    1011 
    1112        config_get extiface config external_iface 
    1213        config_get intiface config internal_iface 
     14        config_get extip config external_ip 
    1315        config_get upload   config upload 
    1416        config_get download config download 
     
    2830                local iface 
    2931 
     32                [ -n "$extip" ] && \ 
     33                        append args "-o $extip" 
     34                 
    3035                for iface in ${intiface:-lan}; do 
    3136                        local ipaddr 
Note: See TracChangeset for help on using the changeset viewer.