diff options
Diffstat (limited to 'ospfd/ospf_vty.c')
| -rw-r--r-- | ospfd/ospf_vty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ospfd/ospf_vty.c b/ospfd/ospf_vty.c index c82c8cb42e..e113c4265d 100644 --- a/ospfd/ospf_vty.c +++ b/ospfd/ospf_vty.c @@ -6578,7 +6578,7 @@ static void show_lsa_prefix_set(struct vty *vty, struct prefix_ls *lp, struct in_addr *id, struct in_addr *adv_router) { memset(lp, 0, sizeof(struct prefix_ls)); - lp->family = 0; + lp->family = AF_UNSPEC; if (id == NULL) lp->prefixlen = 0; else if (adv_router == NULL) { |
