Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
HardenedBSD
HardenedBSD
Commits
9e93d2b3
Commit
9e93d2b3
authored
Dec 02, 2021
by
Gleb Smirnoff
Browse files
ifnet: enable & fix if_debug build
Fixes:
ce40632a
parent
2e27230f
Changes
1
Hide whitespace changes
Inline
Side-by-side
sys/net/if.c
View file @
9e93d2b3
...
...
@@ -36,6 +36,7 @@
#include "opt_bpf.h"
#include "opt_inet6.h"
#include "opt_inet.h"
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/capsicum.h>
...
...
@@ -4668,7 +4669,7 @@ DB_SHOW_ALL_COMMAND(ifnets, db_show_all_ifnets)
db_printf
(
"vnet=%p
\n
"
,
curvnet
);
#endif
for
(
idx
=
1
;
idx
<=
V_if_index
;
idx
++
)
{
ifp
=
V_ifindex_table
[
idx
]
.
ife_ifnet
;
ifp
=
V_ifindex_table
[
idx
];
if
(
ifp
==
NULL
)
continue
;
db_printf
(
"%20s ifp=%p
\n
"
,
ifp
->
if_xname
,
ifp
);
...
...
Write
Preview
Supports
Markdown
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