Constify
This commit is contained in:
parent
a2462c6c3e
commit
82a5eec571
@ -429,7 +429,7 @@ send_spa_packet_icmp(const char *spa_data, const int sd_len,
|
||||
struct iphdr *iph = (struct iphdr *) pkt_data;
|
||||
struct icmphdr *icmph = (struct icmphdr *) (pkt_data + sizeof (*iph));
|
||||
|
||||
int hdrlen = sizeof(struct iphdr) + sizeof(struct icmphdr);
|
||||
const size_t hdrlen = sizeof(struct iphdr) + sizeof(struct icmphdr);
|
||||
|
||||
/* Values for setsockopt.
|
||||
*/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user