aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaroslav Tykhiy <ytykhiy@gmail.com>2007-03-26 09:10:28 +0000
committerYaroslav Tykhiy <ytykhiy@gmail.com>2007-03-26 09:10:28 +0000
commit70e04181c200e94fbbf4f6ff210aee23b408151e (patch)
tree47ebbf61f9c4540ff32a0b05835acbc2009ec0a7
parent6ca7917e8f7fe4e3446fbf4e2efacd5e518cef81 (diff)
Notes
-rw-r--r--sys/conf/NOTES4
-rw-r--r--sys/net/if_disc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/conf/NOTES b/sys/conf/NOTES
index 5bd3493e08e7..c34d48f60258 100644
--- a/sys/conf/NOTES
+++ b/sys/conf/NOTES
@@ -736,7 +736,7 @@ device mn # Munich32x/Falc54 Nx64kbit/sec cards.
# simultaneous BPF clients programs runnable. DHCP requires bpf.
# The `disc' device implements a minimal network interface,
# which throws away all packets sent and never receives any. It is
-# included for testing purposes. This shows up as the `ds' interface.
+# included for testing and benchmarking purposes.
# The `edsc' device implements a minimal Ethernet interface,
# which discards all packets sent and receives none.
# The `tap' device is a pty-like virtual Ethernet interface
@@ -783,7 +783,7 @@ device arcnet #Generic Arcnet
device sppp #Generic Synchronous PPP
device loop #Network loopback device
device bpf #Berkeley packet filter
-device disc #Discard device (ds0, ds1, etc)
+device disc #Discard device based on loopback
device edsc #Ethernet discard device
device tap #Virtual Ethernet driver
device tun #Tunnel driver (ppp(8), nos-tun(8))
diff --git a/sys/net/if_disc.c b/sys/net/if_disc.c
index aa76d709afcc..51f05d5286e2 100644
--- a/sys/net/if_disc.c
+++ b/sys/net/if_disc.c
@@ -62,7 +62,7 @@
#define DISCNAME "disc"
struct disc_softc {
- struct ifnet *sc_ifp; /* must be first */
+ struct ifnet *sc_ifp;
};
static int discoutput(struct ifnet *, struct mbuf *,