aboutsummaryrefslogtreecommitdiffstats
path: root/src/pluto
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2011-04-14 18:06:38 +0200
committerTobias Brunner <tobias@strongswan.org>2011-04-14 18:11:47 +0200
commit823d2f503575ba08ff405ae5e624146fb512859a (patch)
tree5d21c2d14cfd3331fbb9e6e7b945976307948d85 /src/pluto
parent3bec23d88c2d1f869818f54b6cbc348fda9634c1 (diff)
downloadstrongswan-823d2f503575ba08ff405ae5e624146fb512859a.tar.bz2
strongswan-823d2f503575ba08ff405ae5e624146fb512859a.tar.xz
pluto: Fixed check for NAT-T keepalives.
Diffstat (limited to 'src/pluto')
-rw-r--r--src/pluto/demux.c2
1 files changed, 1 insertions, 1 deletions
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