summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_neighbor.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2019-09-24 10:38:10 -0400
committerGitHub <noreply@github.com>2019-09-24 10:38:10 -0400
commite4bf00fdf94e48ca7f14b1d038b849c191c91bea (patch)
treede5040917e84eb719820a51419bf9b7bdf9cbd3f /ospf6d/ospf6_neighbor.c
parentbdd0ce8aa5af853c8712931d9ff2de6b11250997 (diff)
parent5aeb4f3c60789b09b5194da5ea63d036d6c80f6c (diff)
Merge pull request #4995 from opensourcerouting/ospf6d-iftype
ospf6d: fix interface type handling
Diffstat (limited to 'ospf6d/ospf6_neighbor.c')
-rw-r--r--ospf6d/ospf6_neighbor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ospf6d/ospf6_neighbor.c b/ospf6d/ospf6_neighbor.c
index 46dc621ae7..dccf15aee2 100644
--- a/ospf6d/ospf6_neighbor.c
+++ b/ospf6d/ospf6_neighbor.c
@@ -618,7 +618,7 @@ static void ospf6_neighbor_show(struct vty *vty, struct ospf6_neighbor *on)
snprintf(deadtime, sizeof(deadtime), "%02ld:%02ld:%02ld", h, m, s);
/* Neighbor State */
- if (if_is_pointopoint(on->ospf6_if->interface))
+ if (on->ospf6_if->type == OSPF_IFTYPE_POINTOPOINT)
snprintf(nstate, sizeof(nstate), "PointToPoint");
else {
if (on->router_id == on->drouter)