Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
ce95af7a
Commit
ce95af7a
authored
Feb 25, 2016
by
Jan Moskyto Matejka
Browse files
Merge branch 'master' of gitlab.labs.nic.cz:labs/bird
parents
b25509e5
e3f506f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
proto/ospf/iface.c
View file @
ce95af7a
...
...
@@ -599,10 +599,10 @@ ospf_iface_new(struct ospf_area *oa, struct ifa *addr, struct ospf_iface_patt *i
if
(
ospf_is_v2
(
p
)
&&
(
ifa
->
type
==
OSPF_IT_NBMA
)
&&
(
addr
->
flags
&
IA_PEER
))
ifa
->
type
=
OSPF_IT_PTMP
;
if
((
ifa
->
type
==
OSPF_IT_BCAST
)
&&
!
(
iface
->
flags
&
if_multi_flag
))
if
((
ifa
->
type
==
OSPF_IT_BCAST
)
&&
!
(
iface
->
flags
&
if_multi_flag
)
&&
!
ifa
->
stub
)
ifa
->
type
=
OSPF_IT_NBMA
;
if
((
ifa
->
type
==
OSPF_IT_PTP
)
&&
!
(
iface
->
flags
&
if_multi_flag
))
if
((
ifa
->
type
==
OSPF_IT_PTP
)
&&
!
(
iface
->
flags
&
if_multi_flag
)
&&
!
ifa
->
stub
)
ifa
->
type
=
OSPF_IT_PTMP
;
if
(
ifa
->
type
!=
old_type
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment