Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
2743cc4
)
Fixed set int state up for ipsec interfaces
45/4945/1
author
Radu Nicolau
<radu.nicolau@intel.com>
Mon, 30 Jan 2017 14:33:39 +0000
(14:33 +0000)
committer
Radu Nicolau
<radu.nicolau@intel.com>
Mon, 30 Jan 2017 14:35:21 +0000
(14:35 +0000)
Change-Id: I2330cb7c2ba0f5eaeb4e7a4c3de4f22283d3923d
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
src/vnet/ipsec/ipsec_if.c
patch
|
blob
|
history
diff --git
a/src/vnet/ipsec/ipsec_if.c
b/src/vnet/ipsec/ipsec_if.c
index
ca6b009
..
dc88200
100644
(file)
--- a/
src/vnet/ipsec/ipsec_if.c
+++ b/
src/vnet/ipsec/ipsec_if.c
@@
-63,11
+63,11
@@
ipsec_admin_up_down_function (vnet_main_t * vnm, u32 hw_if_index, u32 flags)
if (err)
return err;
- vnet_
sw_interface_set_flags (vnm, hi->s
w_if_index,
+ vnet_
hw_interface_set_flags (vnm, h
w_if_index,
VNET_HW_INTERFACE_FLAG_LINK_UP);
}
else
- vnet_
sw_interface_set_flags (vnm, hi->s
w_if_index, 0 /* down */ );
+ vnet_
hw_interface_set_flags (vnm, h
w_if_index, 0 /* down */ );
return /* no error */ 0;
}