diff options
Diffstat (limited to 'proto/ospf/rt.c')
-rw-r--r-- | proto/ospf/rt.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/proto/ospf/rt.c b/proto/ospf/rt.c index 0360f8b6..cee1589e 100644 --- a/proto/ospf/rt.c +++ b/proto/ospf/rt.c @@ -483,8 +483,7 @@ ospf_rt_sum(struct ospf_area *oa) continue; type = ORT_NET; } - - if (en->lsa.type == LSA_T_SUM_RT) + else { ip = ipa_from_u32(en->lsa.id); mlen = 32; |