Parent Directory | Revision Log | Patch
revision 1.6 by christiaans, Mon Oct 10 07:25:35 2005 UTC | revision 1.7 by christiaans, Tue Nov 8 12:00:45 2005 UTC | |
---|---|---|
# | Line 85 low_level_init(struct netif *netif) | Line 85 low_level_init(struct netif *netif) |
85 | perror("tunif_init"); | perror("tunif_init"); |
86 | exit(1); | exit(1); |
87 | } | } |
88 | snprintf(buf, sizeof(buf), "ifconfig tun0 inet %d.%d.%d.%d %d.%d.%d.%d", | snprintf(buf, sizeof(buf), "/sbin/ifconfig tun0 inet %d.%d.%d.%d %d.%d.%d.%d", |
89 | ip4_addr1(&(netif->gw)), | ip4_addr1(&(netif->gw)), |
90 | ip4_addr2(&(netif->gw)), | ip4_addr2(&(netif->gw)), |
91 | ip4_addr3(&(netif->gw)), | ip4_addr3(&(netif->gw)), |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |