[BusyBox] ifupdown patches
Lars Kellogg-Stedman
lars at larsshack.org
Thu Jul 3 01:29:50 UTC 2003
Erik, et al.
The attached patch makes the following changes to networking/ifupdown.c:
(1) It swaps all calls to 'ip link set' and 'ip addr set'. This solves
two problems:
(a) Calling 'ip link set <dev> up' before assigning an address
generates an error message, and
(b) Under User Mode Linux, running in with ethernet interfaces
in daemon mode, the MAC address for an interface is selected
based on the IP address assigned to that interface. If the
interface is brought up before being assigned an IP address,
it gets a null MAC.
(2) It further cleans up run_mapping().
This patch is against ifupdown.c revision 1.25.
-- Lars
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ifupdown.patch
Type: text/x-patch
Size: 4887 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20030703/c1441020/attachment.bin
More information about the busybox
mailing list