From: Ben Pfaff Date: Tue, 11 Nov 2008 20:11:31 +0000 (-0800) Subject: Fix typo: = should be == X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a5cc3f9e7d04eb1a5061e7bdc86ef01fd045ce7;p=openvswitch Fix typo: = should be == --- diff --git a/datapath/nx_act_snat.c b/datapath/nx_act_snat.c index dcef792e..3056886d 100644 --- a/datapath/nx_act_snat.c +++ b/datapath/nx_act_snat.c @@ -492,7 +492,7 @@ snat_add_port(struct datapath *dp, uint16_t port, spin_lock_irqsave(&p->lock, flags); if (p->snat) { if ((p->snat->ip_addr_start == ip_addr_start) - && (p->snat->ip_addr_end = ip_addr_end)) { + && (p->snat->ip_addr_end == ip_addr_end)) { p->snat->mac_timeout = mac_timeout; spin_unlock_irqrestore(&p->lock, flags); return 0;