Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
babeld
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
babeld
Commits
1572e4bb
Commit
1572e4bb
authored
Mar 31, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tweak local interface syntax.
parent
28e0d58f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
local.c
local.c
+4
-4
No files found.
local.c
View file @
1572e4bb
...
...
@@ -114,10 +114,10 @@ local_notify_neighbour(struct neighbour *neigh, int flush)
return
;
rc
=
snprintf
(
buf
,
512
,
"
neighbour %s%s at
%s "
"
%sneighbour %s address
%s "
"dev %s reach %04x rxcost %d txcost %d cost %d
\n
"
,
format_address
(
neigh
->
id
),
flush
?
" flush"
:
""
,
format_address
(
neigh
->
id
),
format_address
(
neigh
->
address
),
neigh
->
network
->
ifname
,
neigh
->
reach
,
...
...
@@ -147,7 +147,7 @@ local_notify_xroute(struct xroute *xroute, int flush)
if
(
local_socket
<
0
)
return
;
rc
=
snprintf
(
buf
,
512
,
"
xroute %s
%s metric %d
\n
"
,
rc
=
snprintf
(
buf
,
512
,
"
%sxroute
%s metric %d
\n
"
,
flush
?
"flush "
:
""
,
format_prefix
(
xroute
->
prefix
,
xroute
->
plen
),
xroute
->
metric
);
...
...
@@ -175,7 +175,7 @@ local_notify_route(struct route *route, int flush)
return
;
rc
=
snprintf
(
buf
,
512
,
"
route %s
%s installed %s "
"
%sroute
%s installed %s "
"id %s metric %d refmetric %d via %s if %s neigh %s
\n
"
,
flush
?
"flush "
:
""
,
format_prefix
(
route
->
src
->
prefix
,
route
->
src
->
plen
),
...
...
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