summaryrefslogtreecommitdiff
path: root/doc/guides/sample_app_ug/l3_forward.rst
diff options
context:
space:
mode:
Diffstat (limited to 'doc/guides/sample_app_ug/l3_forward.rst')
-rw-r--r--doc/guides/sample_app_ug/l3_forward.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/guides/sample_app_ug/l3_forward.rst b/doc/guides/sample_app_ug/l3_forward.rst
index c885cdb..e2e6223 100644
--- a/doc/guides/sample_app_ug/l3_forward.rst
+++ b/doc/guides/sample_app_ug/l3_forward.rst
@@ -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));