Fix typo: = should be ==

This commit is contained in:
Ben Pfaff committed 2008-11-11 12:31:26 -08:00
1 parent f7e9953b8d
commit 3a5cc3f9e7
1 file changed
+1 -1
+1 -1
View File
@@ -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;