should SLIP support be removed?
Andy Green
andy at warmcat.com
Thu May 18 11:07:20 UTC 2006
Robert P. J. Day wrote:
> just to clarify what i'm asking here, what is the point of explicitly
> undef'fing HWSLIP early on in networking/interface.c, only to check
> for its definition later on:
No Idea Robert... looking at the code I assume the guy who brought the
code in from the original package either felt that this extra support
was broken or was just wasting space, but didn't feel able to remove it.
Here's an example of what ifconfig spits out even with the disabled define:
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:C2:50:20:05
inet addr:192.168.0.57 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1591 errors:0 dropped:0 overruns:0 frame:0
TX packets:1358 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:160812 (157.0 KiB) TX bytes:131028 (127.9 KiB)
Interrupt:24 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sl0 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.250.32.5 P-t-P:10.250.32.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
compressed:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 compressed:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
sl1 Link encap:UNSPEC HWaddr
00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
inet addr:10.251.32.5 P-t-P:10.251.32.5 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:296 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
compressed:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 compressed:0 txqueuelen:10
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
-Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4492 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.busybox.net/pipermail/busybox/attachments/20060518/6c2579ca/attachment.bin
More information about the busybox
mailing list