summaryrefslogtreecommitdiff
path: root/sys/netinet/in_pcb.c
diff options
context:
space:
mode:
authorCedric Berger <cedric@cvs.openbsd.org>2004-06-22 07:35:21 +0000
committerCedric Berger <cedric@cvs.openbsd.org>2004-06-22 07:35:21 +0000
commitac3b343f65ddf5d97e0f854daf4f8d608b7e9b13 (patch)
tree13f7a2f86c3fe15a6f1f1041f43f45a0c8eb1a1f /sys/netinet/in_pcb.c
parent8141831959faa730cb2fa92905eec182a3173e99 (diff)
Pull the plug on source-based routing until remaining bugs are eradicated.
No need to reconfig kernel or rebuild userland stuff. requested deraadt@, help beck@
Diffstat (limited to 'sys/netinet/in_pcb.c')
-rw-r--r--sys/netinet/in_pcb.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/netinet/in_pcb.c b/sys/netinet/in_pcb.c
index dd9ac63edf4..06053e2f3cd 100644
--- a/sys/netinet/in_pcb.c
+++ b/sys/netinet/in_pcb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: in_pcb.c,v 1.76 2004/06/06 16:49:09 cedric Exp $ */
+/* $OpenBSD: in_pcb.c,v 1.77 2004/06/22 07:35:20 cedric Exp $ */
/* $NetBSD: in_pcb.c,v 1.25 1996/02/13 23:41:53 christos Exp $ */
/*
@@ -841,8 +841,7 @@ in_pcbrtentry(inp)
break;
ro->ro_dst.sa_family = AF_INET;
ro->ro_dst.sa_len = sizeof(ro->ro_dst);
- satortin(&ro->ro_dst)->rtin_dst = inp->inp_faddr;
- satortin(&ro->ro_dst)->rtin_src = inp->inp_laddr;
+ satosin(&ro->ro_dst)->sin_addr = inp->inp_faddr;
rtalloc(ro);
break;
}