X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fiface.h;h=167175342ea25fe449dc5f4b10bf59192ea2dcc4;hb=3073103812f0ea376582eb0ff1479945a847b361;hp=e45ab107e8f6b48399437361875263aea50220f8;hpb=5c0f7327451ba44f43aaaf28816c7ed172128ccc;p=catta diff --git a/avahi-core/iface.h b/avahi-core/iface.h index e45ab10..1671753 100644 --- a/avahi-core/iface.h +++ b/avahi-core/iface.h @@ -48,7 +48,7 @@ typedef struct AvahiHwInterface AvahiHwInterface; #error "No network configuration notification system available" #endif -#define AVAHI_MAX_MAC_ADDRESS 32 +#define AVAHI_MAC_ADDRESS_MAX 32 struct AvahiInterfaceMonitor { AvahiServer *server; @@ -72,7 +72,7 @@ struct AvahiHwInterface { unsigned mtu; - uint8_t mac_address[AVAHI_MAX_MAC_ADDRESS]; + uint8_t mac_address[AVAHI_MAC_ADDRESS_MAX]; size_t mac_address_size; AvahiSEntryGroup *entry_group;