separated legacy API wrapper. added ipv4 addresses to interfaces
This commit is contained in:
parent
864b869526
commit
35141b130c
1 changed files with 0 additions and 4 deletions
|
@ -1442,12 +1442,8 @@ class CoreApi2RequestHandler(CoreRequestHandler):
|
||||||
''' The daemon calls this method with legacy API data. Convert first
|
''' The daemon calls this method with legacy API data. Convert first
|
||||||
API2 then send.
|
API2 then send.
|
||||||
'''
|
'''
|
||||||
print "Sending data to API2 client", len(data)
|
|
||||||
|
|
||||||
#sys.stderr.write("enter linkconfig() ...\n")
|
|
||||||
#traceback.print_stack()
|
|
||||||
msgs = coreapi2.CoreApiBridge.LegacytoApi2((data,))
|
msgs = coreapi2.CoreApiBridge.LegacytoApi2((data,))
|
||||||
print "msgs=", len(msgs)
|
|
||||||
if msgs:
|
if msgs:
|
||||||
for msg in msgs:
|
for msg in msgs:
|
||||||
self.request.sendall(msg)
|
self.request.sendall(msg)
|
||||||
|
|
Loading…
Reference in a new issue