1
0
mirror of https://github.com/stargieg/bacnet-stack synced 2025-10-26 23:35:52 +08:00

change ipv6 broadcast from BIP6_MULTICAST_SITE_LOCAL to BIP6_MULTICAST_GLOBAL interop with yabe

This commit is contained in:
Patrick Grimm 2016-10-30 23:19:30 +01:00
parent 050ef0afad
commit 8537627650
2 changed files with 4 additions and 2 deletions

View File

@ -254,7 +254,8 @@ void dlenv_init(
bip6_set_broadcast_addr(&addr);
} else {
bvlc6_address_set(&addr,
BIP6_MULTICAST_SITE_LOCAL, 0, 0, 0, 0, 0, 0,
BIP6_MULTICAST_GLOBAL, 0, 0, 0, 0, 0, 0,
//BIP6_MULTICAST_SITE_LOCAL, 0, 0, 0, 0, 0, 0,
BIP6_MULTICAST_GROUP_ID);
bip6_set_broadcast_addr(&addr);
}

View File

@ -398,7 +398,8 @@ bool bip6_init(
debug_printf("BIP6: IPv6 UDP port: 0x%04X\n", htons(BIP6_Addr.port));
if (BIP6_Broadcast_Addr.address[0] == 0) {
bvlc6_address_set(&BIP6_Broadcast_Addr,
BIP6_MULTICAST_SITE_LOCAL, 0, 0, 0, 0, 0, 0,
BIP6_MULTICAST_GLOBAL, 0, 0, 0, 0, 0, 0,
//BIP6_MULTICAST_SITE_LOCAL, 0, 0, 0, 0, 0, 0,
BIP6_MULTICAST_GROUP_ID);
}
/* assumes that the driver has already been initialized */