fix typo that caused a panic when processing an ICMP redirect

Sponsored by:	FreeBSD Foundation
This commit is contained in:
Sam Leffler 2003-10-05 19:05:53 +00:00
parent 3bb2d995f0
commit 4de5d90c8e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=120820

View File

@ -351,7 +351,7 @@ rtredirect(struct sockaddr *dst,
rt = NULL;
error = rtrequest1(RTM_ADD, &info, &rt);
if (rt != NULL) {
RT_UNLOCK(rt);
RT_LOCK(rt);
flags = rt->rt_flags;
}
stat = &rtstat.rts_dynamic;