Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
41efa772
Commit
41efa772
authored
Sep 14, 2021
by
Hejing Li
Committed by
Antoine Kaufmann
Jan 17, 2022
Browse files
fix assertion
parent
398e614b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
sims/net/pktgen/pktgen.cc
sims/net/pktgen/pktgen.cc
+2
-1
No files found.
sims/net/pktgen/pktgen.cc
View file @
41efa772
...
...
@@ -550,7 +550,8 @@ int main(int argc, char *argv[]) {
break
;
case
'n'
:
my_num
=
strtol
(
optarg
,
NULL
,
0
);
assert
(
my_num
>
255
);
fprintf
(
stderr
,
"my_num is: %d
\n
"
,
my_num
);
assert
(
my_num
<
255
);
break
;
default:
...
...
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