Fix GGSN signal handling
commitc3dcba0fa66a65da5f0b6e267415150a9fcf86f9
authorHarald Welte <laforge@gnumonks.org>
Tue, 4 May 2010 09:02:54 +0000 (4 11:02 +0200)
committerHarald Welte <laforge@gnumonks.org>
Tue, 4 May 2010 09:02:54 +0000 (4 11:02 +0200)
treef7d05fde95a50a009d52d2a634432caed85f75c7
parente67556e96f135aff7ebb80ad3b8ae89973bbcdaa
Fix GGSN signal handling

In order te exit gracefully (closing the tun devices), we install a SIGINT
handler and note its occurrence in a global variable.

This fix is from http://sourceforge.net/tracker/index.php?func=detail&aid=1811513&group_id=68956&atid=522957
ggsn/ggsn.c