commit | 3fb9cd6ef456959b6eff939d5c316f6785c2dda4 | [log] [tgz] |
---|---|---|
author | hasso <hasso> | Tue Oct 19 19:44:43 2004 +0000 |
committer | hasso <hasso> | Tue Oct 19 19:44:43 2004 +0000 |
tree | e350cb3ef7b20b8bbccfb1aa9309152311e845bd | |
parent | 5ae35f45f1292dce3a01f241accafeb2e59b10cc [diff] [blame] |
OK. Here it is - PtP patch from Andrew J. Schorr. No problems with ospfd, ripd might need some more testing though.
diff --git a/ospfd/ospf_snmp.c b/ospfd/ospf_snmp.c index db0aaf6..0cf257d 100644 --- a/ospfd/ospf_snmp.c +++ b/ospfd/ospf_snmp.c
@@ -1435,7 +1435,7 @@ /* Lookup first IPv4 address entry. */ LIST_LOOP (ifp->connected, ifc, nn) { - if (if_is_pointopoint (ifp)) + if (CONNECTED_POINTOPOINT_HOST(ifc)) p = ifc->destination; else p = ifc->address;