From: Roy Marples Date: Wed, 6 Apr 2016 20:53:26 +0000 (+0000) Subject: Fix function name X-Git-Tag: v6.10.2~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=077aa0d8610d4da3b68c366ade373080a677f2c1;p=thirdparty%2Fdhcpcd.git Fix function name --- diff --git a/if.c b/if.c index 1acff974..a3b1e02d 100644 --- a/if.c +++ b/if.c @@ -176,7 +176,7 @@ if_hasconf(struct dhcpcd_ctx *ctx, const char *ifname) return 0; } -static void if_learnaddrs1(struct dhcpcd_ctx *ctx, struct if_head *ifs, +static void if_learnaddrs(struct dhcpcd_ctx *ctx, struct if_head *ifs, struct ifaddrs *ifaddrs) { struct ifaddrs *ifa; @@ -540,7 +540,7 @@ if_discover(struct dhcpcd_ctx *ctx, int argc, char * const *argv) TAILQ_INSERT_TAIL(ifs, ifp, next); } - if_learnaddrs1(ctx, ifs, ifaddrs); + if_learnaddrs(ctx, ifs, ifaddrs); freeifaddrs(ifaddrs); return ifs;