git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
examples/ipv4_multicast: fix segments number type
[dpdk.git]
/
doc
/
guides
/
sample_app_ug
/
ipv4_multicast.rst
diff --git
a/doc/guides/sample_app_ug/ipv4_multicast.rst
b/doc/guides/sample_app_ug/ipv4_multicast.rst
index
fd1af00
..
7a8e7eb
100644
(file)
--- a/
doc/guides/sample_app_ug/ipv4_multicast.rst
+++ b/
doc/guides/sample_app_ug/ipv4_multicast.rst
@@
-339,7
+339,7
@@
It is the mcast_out_pkt() function that performs the packet duplication (either
/* update header's fields */
hdr->pkt.pkt_len = (uint16_t)(hdr->pkt.data_len + pkt->pkt.pkt_len);
- hdr->pkt.nb_segs =
(uint8_t)(pkt->pkt.nb_segs + 1)
;
+ hdr->pkt.nb_segs =
pkt->pkt.nb_segs + 1
;
/* copy metadata from source packet */