]> git.ipfire.org Git - thirdparty/dhcpcd.git/commit - src/if-options.c
routes: allow a head clear with a context
authorRoy Marples <roy@marples.name>
Wed, 28 Mar 2018 18:25:16 +0000 (18:25 +0000)
committerRoy Marples <roy@marples.name>
Wed, 28 Mar 2018 18:25:16 +0000 (18:25 +0000)
commit30425c9bcb37b59b0b1cf9bda94bd730405f0ed6
treed37043cdbdddd0b924464463329b7730fe2525e2
parent77cdf11571cc21d6ec72987e1ed938da04cf8b02
routes: allow a head clear with a context

This is because optionally defined routes may not have an interface
at the global level.
Also, init route lists earlier so they can be freed without error.
src/dhcpcd.c
src/if-options.c
src/if-options.h
src/if.c
src/route.c
src/route.h