On Mon, 28 Dec 2015 20:20:31 -0500
Zhihong Wang wrote:
> + /* exit with the expected status */
> + if (force_quit) {
> + signal(signo_quit, SIG_DFL);
> + kill(getpid(), signo_quit);
This is really not necessary. Most other programs don't do this.
Handle SIGINT and SIGTERM in l2fwd.
Signed-off-by: Zhihong Wang
Acked-by: Michael Qiu
---
examples/l2fwd/main.c | 123 +-
1 file changed, 101 insertions(+), 22 deletions(-)
diff --git a/examples/l2fwd/main.c b/examples/l2fwd/main.c
index 720fd5a.
2 matches
Mail list logo