From d2ceaf4ec82837239a35ace00399ce3aa845849e Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Fri, 28 Aug 2009 13:45:43 +0200 Subject: Temporary OSPFv3 development commit --- proto/ospf/iface.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'proto/ospf') diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index c902a87..439a29c 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -145,6 +145,7 @@ ospf_iface_chstate(struct ospf_iface *ifa, u8 state) #ifdef OSPFv2 ifa->dr_sk->saddr = AllDRouters; #else /* OSPFv3 */ + // ifa->dr_sk->saddr = AllDRouters; ifa->dr_sk->saddr = ifa->lladdr; #endif @@ -322,8 +323,9 @@ ospf_open_mc_socket(struct ospf_iface *ifa) mcsk->dport = OSPF_PROTO; #ifdef OSPFv2 - mcsk->saddr = AllDRouters; + mcsk->saddr = AllSPFRouters; #else /* OSPFv3 */ + // mcsk->saddr = AllSPFRouters; mcsk->saddr = ifa->lladdr; #endif -- cgit v1.2.3