Changeset 12380


Ignore:
Timestamp:
06/25/09 19:52:37 (4 years ago)
Author:
BrainSlayer
Message:

use snat instead of masquerade

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/services/networking/udhcpc.c

    r12357 r12380  
    404404                strcpy(bcast, ip); 
    405405                get_broadcast(bcast, net); 
    406                 eval("ifconfig", ifname, ip, "netmask", net, "broadcast", bcast, 
    407                      "multi"); 
     406                eval("ifconfig", ifname, ip, "netmask", net, "broadcast", bcast,"multi"); 
     407                nvram_set("tvnicaddr",ip); 
    408408        } 
    409409        if (cidr && ifname) { 
Note: See TracChangeset for help on using the changeset viewer.