chiark
/
gitweb
/
~mdw
/
secnet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Security: Reduce impact of bogus key setup packet DoS
[secnet]
/
site.c
diff --git
a/site.c
b/site.c
index 29efb25f9bd36e6cd79b376d651f0cdbea836027..006d9b494b93ebf092b66f65a5e6941458fa01e8 100644
(file)
--- a/
site.c
+++ b/
site.c
@@
-928,7
+928,6
@@
static void enter_state_wait(struct site *st)
slog(st,LOG_STATE,"entering state WAIT");
st->timeout=st->now+st->wait_timeout;
st->state=SITE_WAIT;
- st->peer_valid=False;
set_link_quality(st);
BUF_FREE(&st->buffer); /* will have had an outgoing packet in it */
/* XXX Erase keys etc. */