summaryrefslogtreecommitdiff
path: root/net-mgmt/mac-telnet/files/patch-src_interfaces.h
blob: 6f0fc858ea62d324264a8e13c05e98d775d5b63e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- src/interfaces.h.orig	2024-08-15 16:06:02 UTC
+++ src/interfaces.h
@@ -25,6 +25,7 @@ struct net_interface {
 	char name[256];
 	unsigned char ipv4_addr[IPV4_ALEN];
 	unsigned char mac_addr[ETH_ALEN];
+	unsigned char bcast_addr[IPV4_ALEN];
 
 	/* used by mactelnetd */
 	int socketfd;
@@ -57,4 +58,4 @@ extern int net_send_udp(const int socket, struct net_i
 						const unsigned char *destmac, const struct in_addr *sourceip, const int sourceport,
 						const struct in_addr *destip, const int destport, const unsigned char *data, const int datalen);
 extern unsigned short in_cksum(unsigned short *addr, int len);
-#endif
\ No newline at end of file
+#endif