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
da95a7a7
Commit
da95a7a7
authored
Jun 23, 2009
by
Ondřej Zajíček
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes bug in ORIGIN check.
parent
29c430f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
proto/bgp/attrs.c
proto/bgp/attrs.c
+2
-2
No files found.
proto/bgp/attrs.c
View file @
da95a7a7
...
...
@@ -39,9 +39,9 @@ struct attr_desc {
};
static
int
bgp_check_origin
(
struct
bgp_proto
*
p
UNUSED
,
byte
*
a
UNUSED
,
int
len
)
bgp_check_origin
(
struct
bgp_proto
*
p
UNUSED
,
byte
*
a
,
int
len
UNUSED
)
{
if
(
len
>
2
)
if
(
*
a
>
2
)
return
6
;
return
0
;
}
...
...
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