]> git.droids-corp.org - dpdk.git/blobdiff - doc/guides/sample_app_ug/l3_forward.rst
doc: fix sphinx highlighting warnings
[dpdk.git] / doc / guides / sample_app_ug / l3_forward.rst
index c885cdb7b9f3b530b97cdb202c09f10717846d80..e2e622364e34193e342ce33ac676a894b1eaa119 100644 (file)
@@ -298,7 +298,7 @@ The get_ipv4_dst_port() function is shown below:
         int ret = 0;
         union ipv4_5tuple_host key;
 
-        ipv4_hdr = (uint8_t \*)ipv4_hdr + offsetof(struct ipv4_hdr, time_to_live);
+        ipv4_hdr = (uint8_t *)ipv4_hdr + offsetof(struct ipv4_hdr, time_to_live);
 
         m128i data = _mm_loadu_si128(( m128i*)(ipv4_hdr));