diff options
Diffstat (limited to 'proto/ospf')
-rw-r--r-- | proto/ospf/iface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index f106a24..113461d 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -49,7 +49,7 @@ iface_chstate(struct ospf_iface *ifa, u8 state) ifa->dr_sk->type=SK_IP_MC; ifa->dr_sk->sport=0; ifa->dr_sk->dport=OSPF_PROTO; - ifa->dr_sk->saddr=ipa_from_u32(0); + ifa->dr_sk->saddr=AllDRouters; ifa->dr_sk->daddr=AllDRouters; ifa->dr_sk->tos=IP_PREC_INTERNET_CONTROL; ifa->dr_sk->ttl=1; @@ -204,7 +204,7 @@ ospf_open_mc_socket(struct ospf_iface *ifa) mcsk->type=SK_IP_MC; mcsk->sport=0; mcsk->dport=OSPF_PROTO; - mcsk->saddr=ipa_from_u32(0); + mcsk->saddr=AllSPFRouters; mcsk->daddr=AllSPFRouters; mcsk->tos=IP_PREC_INTERNET_CONTROL; mcsk->ttl=1; |