From da2f1d587044b0fd057d81da55796332f473020e Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 3 Oct 2013 13:13:15 -0500 Subject: [PATCH] trivial: print route prefix when printing RA discovered routes --- src/rdisc/nm-rdisc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rdisc/nm-rdisc.c b/src/rdisc/nm-rdisc.c index 7e90e637ed..4ff44b248b 100644 --- a/src/rdisc/nm-rdisc.c +++ b/src/rdisc/nm-rdisc.c @@ -120,7 +120,7 @@ config_changed (NMRDisc *rdisc, NMRDiscConfigMap changed) NMRDiscRoute *route = &g_array_index (rdisc->routes, NMRDiscRoute, i); inet_ntop (AF_INET6, &route->network, addrstr, sizeof (addrstr)); - debug (" route %s pref %d exp %u", addrstr, route->preference, expiry (route)); + debug (" route %s/%d pref %d exp %u", addrstr, route->plen, route->preference, expiry (route)); } for (i = 0; i < rdisc->dns_servers->len; i++) { NMRDiscDNSServer *dns_server = &g_array_index (rdisc->dns_servers, NMRDiscDNSServer, i);