diff options
author | Thomas Haller <thaller@redhat.com> | 2014-02-24 11:40:22 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2014-02-24 18:29:25 +0100 |
commit | 076ca1e3e2bf0e775e41f87e300a479090523c5a (patch) | |
tree | b73fbddf6d00b0187a3def4ea909299554d5f4ad | |
parent | c2a1cb1a44aab32816fc2e9c1fcff543413f4fa7 (diff) | |
download | NetworkManager-076ca1e3e2bf0e775e41f87e300a479090523c5a.tar.gz |
rdisc: fix invalid cast when printing addresses in config_changed()
Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r-- | src/rdisc/nm-rdisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rdisc/nm-rdisc.c b/src/rdisc/nm-rdisc.c index 68fbea3f7e..4aad3e50e7 100644 --- a/src/rdisc/nm-rdisc.c +++ b/src/rdisc/nm-rdisc.c @@ -113,7 +113,7 @@ config_changed (NMRDisc *rdisc, NMRDiscConfigMap changed) debug (" gateway %s pref %d exp %u", addrstr, gateway->preference, expiry (gateway)); } for (i = 0; i < rdisc->addresses->len; i++) { - NMRDiscGateway *address = &g_array_index (rdisc->addresses, NMRDiscGateway, i); + NMRDiscAddress *address = &g_array_index (rdisc->addresses, NMRDiscAddress, i); inet_ntop (AF_INET6, &address->address, addrstr, sizeof (addrstr)); debug (" address %s exp %u", addrstr, expiry (address)); |