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
3159035c
Commit
3159035c
authored
Sep 24, 2008
by
Juliusz Chroboczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove -X flag.
parent
3d85c611
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
23 deletions
+1
-23
babel.c
babel.c
+1
-23
No files found.
babel.c
View file @
3159035c
...
...
@@ -143,28 +143,6 @@ main(int argc, char **argv)
}
else
if
(
strcmp
(
*
arg
,
"-p"
)
==
0
)
{
SHIFTE
();
protocol_port
=
atoi
(
*
arg
);
}
else
if
(
strcmp
(
*
arg
,
"-X"
)
==
0
)
{
int
metric
;
unsigned
char
prefix
[
16
];
unsigned
char
plen
;
SHIFTE
();
rc
=
parse_net
(
*
arg
,
prefix
,
&
plen
,
NULL
);
if
(
rc
<
0
)
goto
syntax
;
SHIFTE
();
if
(
strcmp
(
*
arg
,
"infinity"
)
==
0
)
metric
=
INFINITY
;
else
{
metric
=
atoi
(
*
arg
);
if
(
metric
<
0
||
metric
>
INFINITY
)
goto
syntax
;
}
rc
=
add_xroute
(
XROUTE_FORCED
,
prefix
,
plen
,
metric
,
0
,
0
);
if
(
rc
<
0
)
{
fprintf
(
stderr
,
"Couldn't add xroute.
\n
"
);
exit
(
1
);
}
}
else
if
(
strcmp
(
*
arg
,
"-h"
)
==
0
)
{
SHIFTE
();
wireless_hello_interval
=
parse_msec
(
*
arg
);
...
...
@@ -840,7 +818,7 @@ main(int argc, char **argv)
" "
"[-k metric] [-s] [-p] [-l] [-w] [-d level] [-g port]
\n
"
" "
"[-t table] [-T table] [-
X net cost] [-
c file] [-C statement]
\n
"
"[-t table] [-T table] [-c file] [-C statement]
\n
"
" "
"[-D] [-L logfile] [-I pidfile]
\n
"
" "
...
...
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