Changeset 19308


Ignore:
Timestamp:
05/28/12 02:20:53 (12 months ago)
Author:
BrainSlayer
Message:

better handling

Location:
src/router
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • src/router/httpd/visuals/dd-wrt.c

    r19152 r19308  
    258258#ifdef HAVE_IPETH 
    259259        websWrite(wp, 
    260                   "<option value=\"iphone\" %s >IPhone/IPad Tethering</option>\n", 
     260                  "<option value=\"iphone\" %s >IPhone Tethering</option>\n", 
    261261                  nvram_selmatch(wp, "wan_proto", 
    262262                                 "iphone") ? "selected=\"selected\"" : ""); 
  • src/router/httpd/visuals/ejs.c

    r19077 r19308  
    21922192#ifdef HAVE_3G 
    21932193                   || !strcmp(wan_proto, "3g") 
     2194#endif 
     2195#ifdef HAVE_IPETH 
     2196                   || !strcmp(wan_proto, "iphone") 
    21942197#endif 
    21952198            ) { 
  • src/router/httpd/visuals/status.c

    r17735 r19308  
    122122                   || !strcmp(wan_proto, "3g") 
    123123#endif 
     124#ifdef HAVE_IPETH 
     125                   || !strcmp(wan_proto, "iphone") 
     126#endif 
    124127            ) { 
    125128                wan_ipaddr = 
     
    155158#ifdef HAVE_3G 
    156159            || !strcmp(wan_proto, "3g") 
     160#endif 
     161#ifdef HAVE_IPETH 
     162            || !strcmp(wan_proto, "iphone") 
    157163#endif 
    158164#ifdef HAVE_PPPOATM 
     
    264270            || !strcmp(wan_proto, "3g") 
    265271#endif 
     272#ifdef HAVE_IPETH 
     273            || !strcmp(wan_proto, "iphone") 
     274#endif 
    266275#ifdef HAVE_PPPOATM 
    267276            || !strcmp(wan_proto, "pppoa") 
  • src/router/libutils/utils.c

    r19259 r19308  
    30263026                        } 
    30273027                        fclose(fp); 
     3028                        if (nvram_match("wan_ipaddr","0.0.0.0") || nvram_match("wan_ipaddr","")) 
     3029                                wan_link = 0; 
    30283030 
    30293031                } 
  • src/router/services/networking/network.c

    r19245 r19308  
    38643864                insmod("ipheth"); 
    38653865                stop_process("ipheth-loop","IPhone Pairing daemon"); 
     3866                stop_process("usbmuxd","IPhone Mux daemon"); 
     3867                stop_process("udhcpc","DHCP Client"); 
    38663868                eval("usbmuxd"); 
    38673869                eval("ipheth-loop"); 
Note: See TracChangeset for help on using the changeset viewer.