Skip to content

Commit

Permalink
Neighbour advertisements dont have hop limit field
Browse files Browse the repository at this point in the history
Unsolicited neighbour advertisement hop limit was accidently filled.
Neighbour advertisements do not have this field and filling this field
set some flags accidently in the neighbour advertisement packet.

Signed-off-by: Guvenc Gulce <guevenc.guelce@sap.com>
  • Loading branch information
guvenc committed May 28, 2024
1 parent 5b79922 commit 42c3602
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/dp_periodic_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ void trigger_nd_unsol_adv(void)
icmp6_hdr->icmp6_solicited = 0;
icmp6_hdr->icmp6_override = 1;
icmp6_hdr->icmp6_router = 1;
icmp6_hdr->icmp6_hop_limit = 255;

DP_ARRAY_FROM_IPV6(ns_msg->target, gw_ip);
pkt_size = sizeof(struct rte_ether_hdr) + sizeof(struct rte_ipv6_hdr) +
Expand Down

0 comments on commit 42c3602

Please sign in to comment.