Revision 04632fd7 proto/ospf/iface.c
proto/ospf/iface.c | ||
---|---|---|
581 | 581 |
if (ip->ptp_netmask < 2) |
582 | 582 |
ifa->ptp_netmask = ip->ptp_netmask; |
583 | 583 |
|
584 |
ifa->drip = ifa->bdrip = ospf_is_v2(p) ? IPA_NONE4 : IPA_NONE6; |
|
584 | 585 |
|
585 | 586 |
ifa->type = ospf_iface_classify(ip->type, addr); |
586 | 587 |
|
... | ... | |
1333 | 1334 |
else if (ifa->addr->flags & IA_PEER) |
1334 | 1335 |
cli_msg(-1015, "Interface %s (peer %I)", ifa->ifname, ifa->addr->opposite); |
1335 | 1336 |
else |
1336 |
cli_msg(-1015, "Interface %s (%N)", ifa->ifname, ifa->addr->prefix); |
|
1337 |
cli_msg(-1015, "Interface %s (%N)", ifa->ifname, &ifa->addr->prefix);
|
|
1337 | 1338 |
|
1338 | 1339 |
cli_msg(-1015, "\tType: %s%s", ospf_it[ifa->type], more); |
1339 | 1340 |
cli_msg(-1015, "\tArea: %R (%u)", ifa->oa->areaid, ifa->oa->areaid); |
Also available in: Unified diff