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:
dd5f75c
)
ip: fix comments for icmp4
16/40716/2
author
lijinhui
<lijh_7@chinatelecom.cn>
Mon, 15 Apr 2024 02:07:46 +0000
(10:07 +0800)
committer
Fan Zhang
<fanzhang.oss@gmail.com>
Mon, 15 Apr 2024 23:33:25 +0000
(23:33 +0000)
Type: fix
Change-Id: I5f309ca4db4ae4a3e475d87b8f0188c4ead5e562
Signed-off-by: lijinhui <lijh_7@chinatelecom.cn>
src/vnet/ip/icmp4.c
patch
|
blob
|
history
diff --git
a/src/vnet/ip/icmp4.c
b/src/vnet/ip/icmp4.c
index
452817d
..
fa4a0e1
100644
(file)
--- a/
src/vnet/ip/icmp4.c
+++ b/
src/vnet/ip/icmp4.c
@@
-341,7
+341,7
@@
ip4_icmp_error (vlib_main_t * vm,
/* Prefer a source address from "offending interface" */
if (!ip4_sas_by_sw_if_index (sw_if_index0, &out_ip0->dst_address,
&out_ip0->src_address))
- { /* interface has no IP
6
address - should not happen */
+ { /* interface has no IP
4
address - should not happen */
next0 = IP4_ICMP_ERROR_NEXT_DROP;
error0 = ICMP4_ERROR_DROP;
}