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:
9876520
)
VPP-483: Fixed IPSec tunnel interface
81/3381/2
author
Matus Fabian
<
[email protected]
>
Wed, 12 Oct 2016 13:23:58 +0000
(06:23 -0700)
committer
Damjan Marion
<
[email protected]
>
Thu, 13 Oct 2016 08:13:58 +0000
(08:13 +0000)
Change-Id: I570f57218293a4824f83b38575eacdbe3da540d8
Signed-off-by: Matus Fabian <
[email protected]
>
vnet/vnet/ipsec/ipsec_if.c
patch
|
blob
|
history
diff --git
a/vnet/vnet/ipsec/ipsec_if.c
b/vnet/vnet/ipsec/ipsec_if.c
index
f4fad8d
..
13901ef
100644
(file)
--- a/
vnet/vnet/ipsec/ipsec_if.c
+++ b/
vnet/vnet/ipsec/ipsec_if.c
@@
-43,9
+43,18
@@
VNET_DEVICE_CLASS (ipsec_device_class, static) =
.name = "IPSec",.format_device_name = format_ipsec_name,.format_tx_trace =
format_ipsec_if_output_trace,.tx_function = dummy_interface_tx,};
+static uword
+dummy_set_rewrite (vnet_main_t * vnm,
+ u32 sw_if_index,
+ u32 l3_type,
+ void *dst_address, void *rewrite, uword max_rewrite_bytes)
+{
+ return 0;
+}
+
VNET_HW_INTERFACE_CLASS (ipsec_hw_class) =
{
-.name = "IPSec",};
+.name = "IPSec",
.set_rewrite = dummy_set_rewrite,
};
static int