summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-06-05 15:29:11 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-06-05 15:29:11 +0000
commit2d363e64a4a1f89b1b92969780fbe8aec11cb95d (patch)
tree0ec20d4ed25e641dc2947bca1e381402485027de
parenta6ed05dd52e34d1509c80e02be15e5d1fee6e80a (diff)
downloaddrakx-2d363e64a4a1f89b1b92969780fbe8aec11cb95d.tar
drakx-2d363e64a4a1f89b1b92969780fbe8aec11cb95d.tar.gz
drakx-2d363e64a4a1f89b1b92969780fbe8aec11cb95d.tar.bz2
drakx-2d363e64a4a1f89b1b92969780fbe8aec11cb95d.tar.xz
drakx-2d363e64a4a1f89b1b92969780fbe8aec11cb95d.zip
don't wait on upping lo interface
-rw-r--r--mdk-stage1/network.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mdk-stage1/network.c b/mdk-stage1/network.c
index 48779cdfa..e3052b149 100644
--- a/mdk-stage1/network.c
+++ b/mdk-stage1/network.c
@@ -169,7 +169,7 @@ int configure_net_device(struct interface_info * intf)
intf->is_up = 1;
- if (intf->boot_proto == BOOTPROTO_STATIC) {
+ if (intf->boot_proto == BOOTPROTO_STATIC && !streq(intf->device, "lo")) {
/* I need to sleep a bit in order for kernel to finish
init of the network device; if not, first sendto() for
gethostbyaddr will get an EINVAL. */