route_output: Correctly set family according to the rtinfo.rti_dst
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sat, 6 Jun 2009 11:03:18 +0000 (19:03 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 7 Jun 2009 01:43:20 +0000 (09:43 +0800)
commita8c218b2b22ddf89f4a271d2742f6ee5956a5390
tree44917e7f2339be576ae49f3e7f09db828bfca846
parent4492a4a2203203415eb4ba98bae0d61fc6e812f4
route_output: Correctly set family according to the rtinfo.rti_dst

Mainly to
- Avoid referencing rtinfo after rtrequest1_global/rtsearch_global;
  this will ease upcoming fixes.
- Eliminate bunch of rtinfo.rti_dst NULL assignments.
sys/net/rtsock.c