Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
91ff0e9
)
vpp: detect early nosyslog and interactive flags
26/39326/1
author
Damjan Marion
<damarion@cisco.com>
Fri, 4 Aug 2023 10:47:44 +0000
(10:47 +0000)
committer
Damjan Marion
<damarion@cisco.com>
Fri, 4 Aug 2023 10:52:07 +0000
(10:52 +0000)
So error logs are displayed on console earlier....
Type: improvement
Change-Id: If31b76c9d06254b0fec5b5b3f4e92a881b4cf786
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/vpp/vnet/main.c
patch
|
blob
|
history
diff --git
a/src/vpp/vnet/main.c
b/src/vpp/vnet/main.c
index
9a4bed6
..
be34228
100644
(file)
--- a/
src/vpp/vnet/main.c
+++ b/
src/vpp/vnet/main.c
@@
-269,6
+269,10
@@
main (int argc, char *argv[])
main_core = x;
}
}
+ else if (!strncmp (argv[i], "interactive", 11))
+ unix_main.flags |= UNIX_FLAG_INTERACTIVE;
+ else if (!strncmp (argv[i], "nosyslog", 8))
+ unix_main.flags |= UNIX_FLAG_NOSYSLOG;
}
defaulted: