diff options
author | peter <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2003-12-23 02:36:43 +0000 |
commit | 7cc77e03ae647ad532a0a4b708811e38ed15c9e4 (patch) | |
tree | d22ef24bdd562f18d9dfc77f257b3dd71335c80f /sys/netinet6/in6_src.c | |
parent | 409dd19ac040f6465a4e73882c919f0dc679c18e (diff) | |
download | FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.zip FreeBSD-src-7cc77e03ae647ad532a0a4b708811e38ed15c9e4.tar.gz |
Catch a few places where NULL (pointer) was used where 0 (integer) was
expected.
Diffstat (limited to 'sys/netinet6/in6_src.c')
-rw-r--r-- | sys/netinet6/in6_src.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/netinet6/in6_src.c b/sys/netinet6/in6_src.c index 88ace1c..ab513a8 100644 --- a/sys/netinet6/in6_src.c +++ b/sys/netinet6/in6_src.c @@ -640,7 +640,7 @@ in6_selectroute(dstsock, opts, mopts, ro, retifp, retrt, clone) rtalloc((struct route *)ro); } else { ro->ro_rt = rtalloc1(&((struct route *)ro) - ->ro_dst, NULL, 0UL); + ->ro_dst, 0, 0UL); if (ro->ro_rt) RT_UNLOCK(ro->ro_rt); } |