git://git.onelab.eu
/
sliver-openvswitch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f7e9953
)
Fix typo: = should be ==
author
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2008 20:11:31 +0000
(12:11 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Tue, 11 Nov 2008 20:31:26 +0000
(12:31 -0800)
datapath/nx_act_snat.c
patch
|
blob
|
history
diff --git
a/datapath/nx_act_snat.c
b/datapath/nx_act_snat.c
index
dcef792
..
3056886
100644
(file)
--- 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)
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;
p->snat->mac_timeout = mac_timeout;
spin_unlock_irqrestore(&p->lock, flags);
return 0;