summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-02-19 22:42:18 +0000
committerChristian Pointner <equinox@anytun.org>2014-02-19 22:42:18 +0000
commit804b774416f86f358897345f1d15674ff46d7acf (patch)
treeed6e5ab3583d20f0ec559c6c8a36fdb9d22e6b99
parentrenamed udp fd_set function (diff)
also resetting seq_nr on HUP signal
-rw-r--r--src/uanytun.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/uanytun.c b/src/uanytun.c
index 3f21cfa..392c055 100644
--- a/src/uanytun.c
+++ b/src/uanytun.c
@@ -253,6 +253,7 @@ int main_loop(tun_device_t* dev, udp_t* sock, options_t* opt)
break;
else if(return_value == 2) {
seq_win_clear(&seq_win);
+ seq_nr = 0;
log_printf(NOTICE, "sequence window cleared");
return_value = 0;
}