summaryrefslogtreecommitdiff
path: root/net-misc/wol/files/wol-0.7.1-linux-headers.patch
blob: e381d2a31a6afc366d001fcab94f123ec4994e8a (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/src/magic.c
+++ b/src/magic.c
@@ -142,7 +142,7 @@ magic_assemble (struct magic *magic_buf, const char *mac_str,
 				}
 
 			for (j = 0; j < MAC_LEN; ++j)
-				m[j] = ea.ETHER_ADDR_OCTET[j];
+				m[j] = ea.ether_addr_octet[j];
 		}
 
 	/* accommodate the packet chunk's size to the packet type */