Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a12709d authored by Håkon Bugge's avatar Håkon Bugge Committed by David S. Miller
Browse files

net: if_arp: use define instead of hard-coded value



uapi/linux/if_arp.h includes linux/netdevice.h, which uses
IFNAMSIZ. Hence, use it instead of hard-coded value.

Signed-off-by: default avatarHåkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 30f8eb55
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -118,7 +118,7 @@ struct arpreq {
	struct sockaddr	arp_ha;		/* hardware address		 */
	int		arp_flags;	/* flags			 */
	struct sockaddr arp_netmask;    /* netmask (only for proxy arps) */
	char		arp_dev[16];
	char		arp_dev[IFNAMSIZ];
};

struct arpreq_old {