Forgot to set defaults if multicast parameters are unset.

This commit is contained in:
Adam Ierymenko 2013-10-18 15:50:31 -04:00
parent fb7d9b1029
commit e13d4df9ab
3 changed files with 7 additions and 2 deletions

View file

@ -432,7 +432,7 @@ int main(int argc,char **argv)
sprintf(buf,"%x",arpCacheTtl);
netconf[ZT_NETWORKCONFIG_DICT_KEY_ARP_CACHE_TTL] = buf;
}
if (ndpCachettl) {
if (ndpCacheTtl) {
sprintf(buf,"%x",ndpCacheTtl);
netconf[ZT_NETWORKCONFIG_DICT_KEY_NDP_CACHE_TTL] = buf;
}