diff options
author | Eric Andersen <andersen@codepoet.org> | 2003-07-03 10:20:29 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2003-07-03 10:20:29 +0000 |
commit | 8a93179c142a730adff294fbc68112e54de9e6d9 (patch) | |
tree | 37d6a7b90ae4a57eb7e5327827065b990ac7e15f /testsuite/msh | |
parent | bccb31533efd4707e6f78e0474c28123c12edaf3 (diff) | |
download | busybox-8a93179c142a730adff294fbc68112e54de9e6d9.tar.gz |
Patch from Lars Kellogg-Stedman:
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
Diffstat (limited to 'testsuite/msh')
0 files changed, 0 insertions, 0 deletions