summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2001-07-04 17:31:01 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2001-07-04 17:31:01 +0000
commit2a3bfd70cf2799f8b195dd0a39be83c898a8fc14 (patch)
treee7ed69ecc06946fa031511cd35fde65aa0c1e9cd /mdk-stage1
parent1aa4a3d4bce7177ca350b7107fc431e2fed505e3 (diff)
downloaddrakx-2a3bfd70cf2799f8b195dd0a39be83c898a8fc14.tar
drakx-2a3bfd70cf2799f8b195dd0a39be83c898a8fc14.tar.gz
drakx-2a3bfd70cf2799f8b195dd0a39be83c898a8fc14.tar.bz2
drakx-2a3bfd70cf2799f8b195dd0a39be83c898a8fc14.tar.xz
drakx-2a3bfd70cf2799f8b195dd0a39be83c898a8fc14.zip
nonsense to exit if interface is not "eth.*"
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/adsl.c5
1 files changed, 0 insertions, 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));