Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
BIRD Internet Routing Daemon
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Container Registry
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
0639f726
Commit
0639f726
authored
Nov 08, 2000
by
Ondřej Filip
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bugfix in iface_patts_equal.
When both patterns were NULL strcmp it sigfaulted.
parent
482bbc73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
nest/iface.c
nest/iface.c
+2
-1
No files found.
nest/iface.c
View file @
0639f726
...
...
@@ -578,7 +578,8 @@ iface_patts_equal(list *a, list *b, int (*comp)(struct iface_patt *, struct ifac
y
=
HEAD
(
*
b
);
while
(
x
->
n
.
next
&&
y
->
n
.
next
)
{
if
(
strcmp
(
x
->
pattern
,
y
->
pattern
)
||
if
((
!
(
x
->
pattern
==
NULL
)
&&
(
x
->
pattern
==
NULL
)
&&
strcmp
(
x
->
pattern
,
y
->
pattern
))
||
!
ipa_equal
(
x
->
prefix
,
y
->
prefix
)
||
x
->
pxlen
!=
y
->
pxlen
||
comp
&&
!
comp
(
x
,
y
))
...
...
Write
Preview
Markdown
is supported
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