summaryrefslogtreecommitdiff
path: root/proto/ospf
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2009-08-28 13:45:43 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2009-08-28 13:45:43 +0200
commitd2ceaf4ec82837239a35ace00399ce3aa845849e (patch)
tree94382673d95157f0fe7c1397cf4c6beb540746d1 /proto/ospf
parent061ab802a67cfc336785f6daeecdcbd4910734ed (diff)
Temporary OSPFv3 development commit
Diffstat (limited to 'proto/ospf')
-rw-r--r--proto/ospf/iface.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c
index c902a878..439a29c5 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