aboutsummaryrefslogtreecommitdiffstats
path: root/src/vat
diff options
context:
space:
mode:
authorezkexma <maqi.z.ke@ericsson.com>2019-03-26 10:24:38 -0400
committerDamjan Marion <dmarion@me.com>2019-03-28 08:21:24 +0000
commit7d3161adb56833e84c07eec4284b840255b5e3de (patch)
tree2426040be5eeb4a8f1ed562736e87bf588ffaae1 /src/vat
parent0729f6481dd61d4f98ea534d651d7f1b9a7d5d4b (diff)
vat:ignore SIGWINCH signal
vpp/src/vat/main.c When change the window size,the vat will get the SIGWINCH signal and then exit. It is not a exit action,so we can ignore it. Change-Id: If796762216910e23cace09406d413331f505d990 Signed-off-by: ezkexma <maqi.z.ke@ericsson.com>
Diffstat (limited to 'src/vat')
-rw-r--r--src/vat/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vat/main.c b/src/vat/main.c
index a5421140fb3..92edec117b2 100644
--- a/src/vat/main.c
+++ b/src/vat/main.c
@@ -271,6 +271,7 @@ setup_signal_handlers (void)
/* ignore SIGPIPE, SIGCHLD */
case SIGPIPE:
case SIGCHLD:
+ case SIGWINCH:
sa.sa_sigaction = (void *) SIG_IGN;
break;