X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=secnet.git;a=blobdiff_plain;f=site.c;h=a6fa9dafc2b13955b728932056fde6ea52f2ec3b;hp=f1a03179603f4f9b402b5d10b0986b7c6af98722;hb=136740e64e3fedcd725490c2f80d0906de515197;hpb=b02b720ac62afd3a45c44e7ced37c090e7b39da9 diff --git a/site.c b/site.c index f1a0317..a6fa9da 100644 --- a/site.c +++ b/site.c @@ -1286,7 +1286,7 @@ static bool_t site_incoming(void *sst, struct buffer_if *buf, uint32_t msgtype=ntohl(get_uint32(buf->start+8)); if (msgtype!=LABEL_MSG0) dump_packet(st,buf,source,True); switch (msgtype) { - case 0: /* NAK */ + case LABEL_NAK: /* If the source is our current peer then initiate a key setup, because our peer's forgotten the key */ if (get_uint32(buf->start+4)==st->current.remote_session_id) {