diff options
author | Ondrej Filip <feela@network.cz> | 1999-04-13 18:21:53 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 1999-04-13 18:21:53 +0000 |
commit | aec76c6e8e5702144522f0061bc102d26e10b97c (patch) | |
tree | f13f00c0bd035c2efb6b2dc9bf1b8e5baa956243 /proto/ospf/ospf.c | |
parent | 43fc099b98594fb3ac6a56a90fd00f42fc98f742 (diff) |
IPv6 changes.
Diffstat (limited to 'proto/ospf/ospf.c')
-rw-r--r-- | proto/ospf/ospf.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/proto/ospf/ospf.c b/proto/ospf/ospf.c index 79d29a99..fbbc68d7 100644 --- a/proto/ospf/ospf.c +++ b/proto/ospf/ospf.c @@ -91,7 +91,7 @@ byte ospf_iface_clasify(struct iface *ifa) { if((ifa->flags & (IF_MULTIACCESS|IF_MULTICAST))== - IF_MULTIACCESS|IF_MULTICAST) return OSPF_IM_MULTICAST; + IF_MULTIACCESS|IF_MULTICAST) return OSPF_IM_BROADCAST; if((ifa->flags & (IF_MULTIACCESS|IF_MULTICAST))== IF_MULTIACCESS) return OSPF_IM_NBMA; return OSPF_IM_PTP; @@ -112,9 +112,11 @@ ospf_iface_default(struct ospf_iface *ifa) ifa->autype=0; for(i=0;i<8;i++) ifa->aukey[i]=0; ifa->options=0; - ifa->dr=ipa_from_u32(0x00000000); - ifa->bdr=ipa_from_u32(0x00000000); - ifa->mode=ospf_iface_clasify(ifa->iface); + ifa->drip=ipa_from_u32(0x00000000); + ifa->drid=0; + ifa->bdrip=ipa_from_u32(0x00000000); + ifa->bdrid=0; + ifa->type=ospf_iface_clasify(ifa->iface); } void |