fixed issue with configuring a couple nrl services, fixed other issues with coresendmsg

This commit is contained in:
Blake J. Harnden 2018-03-26 14:36:43 -07:00
parent 4c35aaaa48
commit 64f501ac79
3 changed files with 5 additions and 6 deletions

View file

@ -229,12 +229,11 @@ def main():
continue
tlv_name = tlv_typestr
tlv_type = tlv_cls[tlv_name].value
try:
tlv_cls.tlv_type_map[tlv_name]
tlv_type = tlv_cls.tlv_type_map[tlv_name]
tlvdata += tlv_cls.pack_string(tlv_type.value, tlv_valstr)
except KeyError:
usage("Unknown TLV: \"%s\"" % tlv_name)
tlvdata += tlv_cls.pack_string(tlv_type, tlv_valstr)
flags = 0
for f in flagstr.split(","):