diff options
author | 1999-05-12 23:18:35 +0000 | |
---|---|---|
committer | 1999-05-12 23:18:35 +0000 | |
commit | 54e2f76d357155aa5e5103bc964c21a816f878cf (patch) | |
tree | 1478c1868b829049f337ac68adbca7f814892e6b | |
parent | Follow local indentation style. (diff) | |
download | wireguard-openbsd-54e2f76d357155aa5e5103bc964c21a816f878cf.tar.xz wireguard-openbsd-54e2f76d357155aa5e5103bc964c21a816f878cf.zip |
Obvious pasto
-rw-r--r-- | sys/netinet/ip_ip4.c | 4 |
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); |