From 2d363e64a4a1f89b1b92969780fbe8aec11cb95d Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Tue, 5 Jun 2001 15:29:11 +0000 Subject: don't wait on upping lo interface --- mdk-stage1/network.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */ -- cgit v1.2.1