Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
nat: VPP crashes when route is not reachable
[vpp.git]
/
src
/
plugins
/
nat
/
det44
/
det44_out2in.c
diff --git
a/src/plugins/nat/det44/det44_out2in.c
b/src/plugins/nat/det44/det44_out2in.c
index
111bc61
..
4871e75
100644
(file)
--- a/
src/plugins/nat/det44/det44_out2in.c
+++ b/
src/plugins/nat/det44/det44_out2in.c
@@
-173,6
+173,9
@@
icmp_match_out2in_det (vlib_node_runtime_t * node,
}
det44_log_info ("unknown dst address: %U",
format_ip4_address, &ip0->dst_address);
+ b0->error = node->errors[DET44_OUT2IN_ERROR_NO_TRANSLATION];
+ next0 = DET44_OUT2IN_NEXT_DROP;
+
goto out;
}