From 2a3bfd70cf2799f8b195dd0a39be83c898a8fc14 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Wed, 4 Jul 2001 17:31:01 +0000 Subject: nonsense to exit if interface is not "eth.*" --- mdk-stage1/adsl.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mdk-stage1/adsl.c b/mdk-stage1/adsl.c index 706d3c96a..a9107b5f9 100644 --- a/mdk-stage1/adsl.c +++ b/mdk-stage1/adsl.c @@ -120,11 +120,6 @@ enum return_type perform_adsl(struct interface_info * intf) static char ** answers = NULL; enum return_type results; - if (strncmp(intf->device, "eth", 3)) { - stg1_error_message("ADSL available only for Ethernet networking (through PPPoE)."); - return RETURN_ERROR; - } - inet_aton("10.0.0.10", &addr); memcpy(&intf->ip, &addr, sizeof(addr)); -- cgit v1.2.1