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
nexedi
linux
Commits
87225e98
Commit
87225e98
authored
Sep 11, 2003
by
Chas Williams
Committed by
Hideaki Yoshifuji
Sep 11, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ATM]: Fix build failure with ATM_BR2684_IPFILTER enabled.
parent
2244e1a1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
net/atm/br2684.c
net/atm/br2684.c
+4
-3
No files found.
net/atm/br2684.c
View file @
87225e98
...
@@ -732,9 +732,10 @@ static int br2684_seq_show(struct seq_file *seq, void *v)
...
@@ -732,9 +732,10 @@ static int br2684_seq_show(struct seq_file *seq, void *v)
#ifdef CONFIG_ATM_BR2684_IPFILTER
#ifdef CONFIG_ATM_BR2684_IPFILTER
#define b1(var, byte) ((u8 *) &brvcc->filter.var)[byte]
#define b1(var, byte) ((u8 *) &brvcc->filter.var)[byte]
#define bs(var) b1(var, 0), b1(var, 1), b1(var, 2), b1(var, 3)
#define bs(var) b1(var, 0), b1(var, 1), b1(var, 2), b1(var, 3)
if
(
brvcc
->
filter
.
netmask
!=
0
&&
pos
--
==
0
)
if
(
brvcc
->
filter
.
netmask
!=
0
)
return
sprintf
(
buf
,
" filter=%d.%d.%d.%d/"
seq_printf
(
seq
,
" filter=%d.%d.%d.%d/"
"%d.%d.%d.%d
\n
"
,
bs
(
prefix
),
bs
(
netmask
));
"%d.%d.%d.%d
\n
"
,
bs
(
prefix
),
bs
(
netmask
));
#undef bs
#undef bs
#undef b1
#undef b1
#endif
/* CONFIG_ATM_BR2684_IPFILTER */
#endif
/* CONFIG_ATM_BR2684_IPFILTER */
...
...
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