Changeset 11400

Show
Ignore:
Timestamp:
01/13/2009 05:22:00 PM (6 months ago)
Author:
BrainSlayer
Message:

lanport from nvram

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/tools/upnp/upnp/device.c

    r11330 r11400  
    167167                "</specVersion>\r\n" 
    168168                ); 
    169         uprintf(up, "<URLBase>http://%s:%d</URLBase>\r\n", nvram_safe_get("lan_ipaddr"), HTTP_PORT); 
     169        uprintf(up, "<URLBase>http://%s:%s</URLBase>\r\n", nvram_safe_get("lan_ipaddr"), nvram_safe_get("http_lanport")); 
    170170    } 
    171171