diff options
-rw-r--r-- | src/libsystemd-network/sd-ndisc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libsystemd-network/sd-ndisc.c b/src/libsystemd-network/sd-ndisc.c index 1d3be9b862..83e57d43f7 100644 --- a/src/libsystemd-network/sd-ndisc.c +++ b/src/libsystemd-network/sd-ndisc.c @@ -131,6 +131,7 @@ static int ndisc_reset(sd_ndisc *nd) { nd->timeout_event_source = sd_event_source_unref(nd->timeout_event_source); nd->recv_event_source = sd_event_source_unref(nd->recv_event_source); nd->fd = safe_close(nd->fd); + nd->nd_sent = 0; return 0; } |