diff options
| author | Igor Ryzhov <iryzhov@nfware.com> | 2022-02-07 23:29:33 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-02-07 23:29:33 +0300 |
| commit | 16cdf5ddbc5c92f0dc43d9243a60a7258c67e68d (patch) | |
| tree | 566c01776c94e94000d64eb463962763be99e3cf /ospfd/ospf_vty.c | |
| parent | 88f739c16bf82cbfe3d8d15c29f88c948c3b53cb (diff) | |
| parent | b6d2bb07d86e3e2799643e9ef828943378ab8429 (diff) | |
Merge pull request #10518 from donaldsharp/af_unspec
Af unspec
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) { |
