diff options
Diffstat (limited to 'src/if-sun.c')
| -rw-r--r-- | src/if-sun.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/if-sun.c b/src/if-sun.c index 27a18087..d25bbc81 100644 --- a/src/if-sun.c +++ b/src/if-sun.c @@ -533,6 +533,8 @@ if_findsa(struct dhcpcd_ctx *ctx, const struct sockaddr *sa) sin = (const void *)sa; if ((ia = ipv4_findmaskaddr(ctx, &sin->sin_addr))) return ia->iface; + if ((ia = ipv4_findmaskbrd(ctx, &sin->sin_addr))) + return ia->iface; break; } #endif |
