Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
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
linux
Commits
67b81891
Commit
67b81891
authored
Apr 27, 2003
by
David S. Miller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[NETFILTER]: Use proper size_t printf format in ip6t_LOG.c
parent
00295aaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
net/ipv6/netfilter/ip6t_LOG.c
net/ipv6/netfilter/ip6t_LOG.c
+1
-1
No files found.
net/ipv6/netfilter/ip6t_LOG.c
View file @
67b81891
...
...
@@ -89,7 +89,7 @@ static void dump_packet(const struct ip6t_log_info *info,
printk
(
"DST=%04x:%04x:%04x:%04x:%04x:%04x:%04x:%04x "
,
NIP6
(
ipv6h
->
daddr
));
/* Max length: 44 "LEN=65535 TC=255 HOPLIMIT=255 FLOWLBL=FFFFF " */
printk
(
"LEN=%u TC=%u HOPLIMIT=%u FLOWLBL=%u "
,
printk
(
"LEN=%
Z
u TC=%u HOPLIMIT=%u FLOWLBL=%u "
,
ntohs
(
ipv6h
->
payload_len
)
+
sizeof
(
struct
ipv6hdr
),
(
ntohl
(
*
(
u_int32_t
*
)
ipv6h
)
&
0x0ff00000
)
>>
20
,
ipv6h
->
hop_limit
,
...
...
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