From 823d2f503575ba08ff405ae5e624146fb512859a Mon Sep 17 00:00:00 2001 From: Tobias Brunner Date: Thu, 14 Apr 2011 18:06:38 +0200 Subject: [PATCH] pluto: Fixed check for NAT-T keepalives. --- src/pluto/demux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pluto/demux.c b/src/pluto/demux.c index 8d2459eac..699e2d8d8 100644 --- a/src/pluto/demux.c +++ b/src/pluto/demux.c @@ -770,7 +770,7 @@ check_msg_errqueue(const struct iface *ifp, short interest) /* note dirty trick to suppress ~ at start of format * if we know what state to blame. */ - if ((packet_len == 1) && (buffer[0] = 0xff) + if ((packet_len == 1) && (buffer[0] == 0xff) #ifdef DEBUG && ((cur_debugging & DBG_NATT) == 0) #endif