summaryrefslogtreecommitdiff
path: root/netconf-service
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 15:50:31 -0400
committerAdam Ierymenko <adam.ierymenko@gmail.com>2013-10-18 15:50:31 -0400
commite13d4df9ab956f6c30c854c94a5e90a55903abb3 (patch)
tree98bdc659bffc49432aa026f6c1c0e5a8894bbc27 /netconf-service
parentfb7d9b10292b2747ba1cb04ded4291cac49dfd6b (diff)
downloadinfinitytier-e13d4df9ab956f6c30c854c94a5e90a55903abb3.tar.gz
infinitytier-e13d4df9ab956f6c30c854c94a5e90a55903abb3.zip
Forgot to set defaults if multicast parameters are unset.
Diffstat (limited to 'netconf-service')
-rw-r--r--netconf-service/netconf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/netconf-service/netconf.cpp b/netconf-service/netconf.cpp
index 8d274d35..ddb838c1 100644
--- a/netconf-service/netconf.cpp
+++ b/netconf-service/netconf.cpp
@@ -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;
}