pluto: Fixed check for NAT-T keepalives.

This commit is contained in:
Tobias Brunner
2011-04-14 18:11:47 +02:00
parent 3bec23d88c
commit 823d2f5035
+1 -1
View File
@@ -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