diff options
author | tron <tron@pkgsrc.org> | 2000-07-31 17:24:21 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2000-07-31 17:24:21 +0000 |
commit | 860e81b47581c0bb87c0cbfa158eb6e93b01b178 (patch) | |
tree | 915f5c7e1afb7049967f5ef9e4b3a12f1089ce2b /net/wmnet | |
parent | a11c8117ec0da945e9b16db0867f208ccb20597a (diff) | |
download | pkgsrc-860e81b47581c0bb87c0cbfa158eb6e93b01b178.tar.gz |
Because the default rate is suitable for a modem connection use "ppp0"
instead of "ec0" - does anybody really use 3c503 these days? - as the
default interface.
Diffstat (limited to 'net/wmnet')
-rw-r--r-- | net/wmnet/files/patch-sum | 4 | ||||
-rw-r--r-- | net/wmnet/patches/patch-ac | 13 |
2 files changed, 13 insertions, 4 deletions
diff --git a/net/wmnet/files/patch-sum b/net/wmnet/files/patch-sum index ab6d860ae30..fc593608b97 100644 --- a/net/wmnet/files/patch-sum +++ b/net/wmnet/files/patch-sum @@ -1,7 +1,7 @@ -$NetBSD: patch-sum,v 1.1 2000/07/31 17:02:25 tron Exp $ +$NetBSD: patch-sum,v 1.2 2000/07/31 17:24:21 tron Exp $ MD5 (patch-aa) = 09c8fa68a42f5e5327d2a81b0accd2dd MD5 (patch-ab) = f11280e94428dceb98e3c630893cbe9d -MD5 (patch-ac) = 4b3d443856d66e984ccb2ca0de4b918f +MD5 (patch-ac) = 79c6f3874c77ef492622606498454e56 MD5 (patch-ad) = 76eec32cdb7edbd7d6e23f5b0a6e00a3 MD5 (patch-ae) = 2f23ec3b91aa9e356280984b60163647 diff --git a/net/wmnet/patches/patch-ac b/net/wmnet/patches/patch-ac index ac658bf9d2b..545d7f4a731 100644 --- a/net/wmnet/patches/patch-ac +++ b/net/wmnet/patches/patch-ac @@ -1,7 +1,16 @@ -$NetBSD: patch-ac,v 1.1 2000/07/31 17:02:25 tron Exp $ +$NetBSD: patch-ac,v 1.2 2000/07/31 17:24:22 tron Exp $ --- drivers.c.orig Fri May 5 02:34:29 2000 -+++ drivers.c Mon Jul 31 19:00:30 2000 ++++ drivers.c Mon Jul 31 19:22:21 2000 +@@ -445,7 +445,7 @@ + if (((kvmfd = kvm_open(NULL, NULL, NULL, O_RDONLY, buffer)) == NULL) || + (kvm_nlist(kvmfd, symbols) < 0) || + kvm_read(kvmfd, (unsigned long)symbols[0].n_value, &ifnet_savedaddr, sizeof(unsigned long)) == -1 ) return False; +- if(device == NULL) device = "ec0"; ++ if(device == NULL) device = "ppp0"; + fprintf(stderr, "wmnet: using kmem driver to monitor %s\n", device); + return True; + } @@ -457,7 +457,7 @@ int flag = 0; while (ifnet_addr && flag != (ACCOUNT_IN_FOUND|ACCOUNT_OUT_FOUND)) { |