]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Change wording on non dhcpcd removed addresses and routes.
authorRoy Marples <roy@marples.name>
Wed, 3 Aug 2016 20:31:09 +0000 (20:31 +0000)
committerRoy Marples <roy@marples.name>
Wed, 3 Aug 2016 20:31:09 +0000 (20:31 +0000)
dhcp.c
ipv4.c
ipv6.c

diff --git a/dhcp.c b/dhcp.c
index 6f93c7d6d5ea30cb49e064f1d9d77560cb3a3c91..b03d66ec2dcba46396268baef7889838939c982e 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -3657,7 +3657,7 @@ dhcp_handleifa(int cmd, struct ipv4_addr *ia)
        if (cmd == RTM_DELADDR) {
                if (IPV4_BRD_EQ(state->addr, ia)) {
                        logger(ifp->ctx, LOG_INFO,
-                           "%s: removing IP address %s", ifp->name, ia->saddr);
+                           "%s: deleted IP address %s", ifp->name, ia->saddr);
                        dhcp_drop(ifp, "EXPIRE");
                }
                return;
diff --git a/ipv4.c b/ipv4.c
index 9f20a6a48bb12975f772918b9fe296126e4312d4..97246dbe500494c5f3bcc48b3b6f1c02ffc190aa 100644 (file)
--- a/ipv4.c
+++ b/ipv4.c
@@ -382,7 +382,7 @@ ipv4_handlert(struct dhcpcd_ctx *ctx, int cmd, const struct rt *rt, int flags)
 
                /* If we manage the route, remove it */
                if ((f = find_route(ctx->ipv4_routes, rt, NULL))) {
-                       desc_route("removing", f);
+                       desc_route("deleted", f);
                        TAILQ_REMOVE(ctx->ipv4_routes, f, next);
                        free(f);
                }
diff --git a/ipv6.c b/ipv6.c
index 12e5085fdcd77713d94c6017b17108556f332049..57eaffd5d31115b908da2e51721c4eb6514f18e8 100644 (file)
--- a/ipv6.c
+++ b/ipv6.c
@@ -2179,7 +2179,7 @@ ipv6_handlert(struct dhcpcd_ctx *ctx, int cmd, const struct rt6 *rt)
                }
                /* If we manage the route, remove it */
                if ((f = find_route6(ctx->ipv6->routes, rt))) {
-                       desc_route("removing", f);
+                       desc_route("deleted", f);
                        TAILQ_REMOVE(ctx->ipv6->routes, f, next);
                        free(f);
                }