1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-26 06:53:52 +01:00

[sys/net/sixlowpan/sixlowip.c]

* fixed pointer error
This commit is contained in:
mlenders 2011-06-22 15:19:20 +02:00
parent 9b1dbd43fb
commit 2f6eccb5bf

View File

@ -126,7 +126,7 @@ void ipv6_iface_add_addr(ipv6_addr_t *addr, uint8_t state, uint32_t val_ltime,
{
ipv6_addr_t unspec;
memset(&unspec,0,sizeof (ipv6_addr_t));
if(ipv6_get_addr_match(addr,unspec) == 128){
if(ipv6_get_addr_match(addr,&unspec) == 128){
printf("ERROR: unspecified address (::) can't be assigned to interface.\n");
return;
}