diff options
| author | Roy Marples <roy@marples.name> | 2016-11-23 19:29:34 +0000 |
|---|---|---|
| committer | Roy Marples <roy@marples.name> | 2016-11-23 19:29:34 +0000 |
| commit | cba913417b2e6951862137a91adec5321551bccc (patch) | |
| tree | 4161f1c1dd7f8656c62d9c2999aaa354db8a9ccb | |
| parent | e19698faa8257d55d2f24887e591ba1525c818f5 (diff) | |
| download | dhcpcd-cba913417b2e6951862137a91adec5321551bccc.tar.xz | |
Only clear the address family routes we're re-loading.
| -rw-r--r-- | if-bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -576,7 +576,7 @@ if_initrt(struct dhcpcd_ctx *ctx, int af) char *buf, *p, *end; struct rt rt; - rt_headclear(&ctx->kroutes, AF_UNSPEC); + rt_headclear(&ctx->kroutes, af); mib[0] = CTL_NET; mib[1] = PF_ROUTE; |
