Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
net-tools
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
net-tools
Commits
23569640
Commit
23569640
authored
Sep 30, 2013
by
Jiri Popelka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rprint_fib6() was passing 1 instead of 'numeric' into INET6_sprint()
parent
a70c568b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lib/inet6_gr.c
lib/inet6_gr.c
+2
-2
No files found.
lib/inet6_gr.c
View file @
23569640
...
...
@@ -109,7 +109,7 @@ int rprint_fib6(int ext, int numeric)
addr6p
[
4
],
addr6p
[
5
],
addr6p
[
6
],
addr6p
[
7
]);
inet6_aftype
.
input
(
1
,
addr6
,
(
struct
sockaddr
*
)
&
saddr6
);
snprintf
(
addr6
,
sizeof
(
addr6
),
"%s/%d"
,
inet6_aftype
.
sprint
((
struct
sockaddr
*
)
&
saddr6
,
1
),
inet6_aftype
.
sprint
((
struct
sockaddr
*
)
&
saddr6
,
numeric
),
prefix_len
);
/* Fetch and resolve the nexthop address. */
...
...
@@ -118,7 +118,7 @@ int rprint_fib6(int ext, int numeric)
naddr6p
[
4
],
naddr6p
[
5
],
naddr6p
[
6
],
naddr6p
[
7
]);
inet6_aftype
.
input
(
1
,
naddr6
,
(
struct
sockaddr
*
)
&
snaddr6
);
snprintf
(
naddr6
,
sizeof
(
naddr6
),
"%s"
,
inet6_aftype
.
sprint
((
struct
sockaddr
*
)
&
snaddr6
,
1
));
inet6_aftype
.
sprint
((
struct
sockaddr
*
)
&
snaddr6
,
numeric
));
/* Decode the flags. */
...
...
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