fixed bad logging and updated commeffect to default to connectivity being on, same as emane default

This commit is contained in:
Blake J. Harnden 2018-03-27 08:24:28 -07:00
parent fcedf68b55
commit ef48052d41
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ class EmaneCommEffectModel(EmaneModel):
"", "receivebufferperiod"),
]
_confmatrix_shim_091 = [
("defaultconnectivitymode", ConfigDataTypes.BOOL.value, "0",
("defaultconnectivitymode", ConfigDataTypes.BOOL.value, "1",
"On,Off", "defaultconnectivity"),
]
_confmatrix_shim = _confmatrix_shim_base + _confmatrix_shim_091
@ -110,7 +110,7 @@ class EmaneCommEffectModel(EmaneModel):
nemid = emane_node.getnemid(netif)
nemid2 = emane_node.getnemid(netif2)
mbw = bw
logger.info("sending comm effect event")
event.append(
nemid,
latency=convert_none(delay),