mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-06 16:40:47 +00:00
Use the right variable when updating interface routes.
PR: 229807 Submitted by: John Hay <jhay@meraka.org.za> MFC after: 2 weeks
This commit is contained in:
parent
47cc9ee1b1
commit
c274f99ab3
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337500
|
@ -2223,8 +2223,10 @@ ifrt(struct ifc *ifcp, int again)
|
|||
goto next;
|
||||
}
|
||||
|
||||
TAILQ_REMOVE(&riprt_head, rrt, rrt_next);
|
||||
delroute(&rrt->rrt_info, &rrt->rrt_gw);
|
||||
TAILQ_REMOVE(&riprt_head, search_rrt, rrt_next);
|
||||
delroute(&search_rrt->rrt_info,
|
||||
&search_rrt->rrt_gw);
|
||||
free(search_rrt);
|
||||
}
|
||||
/* Attach the route to the list */
|
||||
trace(1, "route: %s/%d: register route (%s)\n",
|
||||
|
|
Loading…
Reference in a new issue