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 2fafd915b4beeacfa069c9efe8e83f516799bced..0f644efd7514121726e929a427244a44458b6cdc 100644
(file)
--- a/
site.c
+++ b/
site.c
@@
-926,7
+926,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. */