summaryrefslogtreecommitdiff
path: root/sys/netinet
diff options
context:
space:
mode:
authorNiklas Hallqvist <niklas@cvs.openbsd.org>1999-05-12 23:18:36 +0000
committerNiklas Hallqvist <niklas@cvs.openbsd.org>1999-05-12 23:18:36 +0000
commit1c37503467ca7c4011f66bbe1dc6cfb162b0fc84 (patch)
tree83407e5e829a06c39a2801a2cbbf90197b9000a3 /sys/netinet
parent9c68dd3c30bfe3e35911127cf8ae3d0ad517f3a2 (diff)
Obvious pasto
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/ip_ip4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/ip_ip4.c b/sys/netinet/ip_ip4.c
index 6907233eb48..d7b20313d7c 100644
--- a/sys/netinet/ip_ip4.c
+++ b/sys/netinet/ip_ip4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ip_ip4.c,v 1.29 1999/04/20 20:06:11 niklas Exp $ */
+/* $OpenBSD: ip_ip4.c,v 1.30 1999/05/12 23:18:35 niklas Exp $ */
/*
* The authors of this code are John Ioannidis (ji@tla.org),
@@ -283,7 +283,7 @@ ipe4_output(struct mbuf *m, struct sockaddr_encap *gw, struct tdb *tdb,
}
/* Check that the destination address is AF_INET */
- if (tdb->tdb_src.sa.sa_family != AF_INET)
+ if (tdb->tdb_dst.sa.sa_family != AF_INET)
{
DPRINTF(("ipe4_output(): IP in protocol-family <%d> attempted, aborting", tdb->tdb_dst.sa.sa_family));
m_freem(m);