trivial: print route prefix when printing RA discovered routes

This commit is contained in:
Dan Williams 2013-10-03 13:13:15 -05:00
parent 72ac1e38f9
commit da2f1d5870

View file

@ -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);