Skip to content
Snippets Groups Projects
Commit 126be77e authored by David Schmitz's avatar David Schmitz
Browse files

fix bug with (src=dst) port specification and new netconf handling

parent 97a8bd43
No related branches found
No related tags found
No related merge requests found
...@@ -195,7 +195,8 @@ def get_ports(rule): ...@@ -195,7 +195,8 @@ def get_ports(rule):
os.write(2, "rule.port="+str(rule.port)) os.write(2, "rule.port="+str(rule.port))
os.write(2, str(type(rule.port))) os.write(2, str(type(rule.port)))
if rule.port: if rule.port:
result = 'port'+translate_ports(rule.port.all()) #result = 'port'+translate_ports(rule.port.all())
result = 'port'+translate_ports(rule.port)
else: else:
result = '' result = ''
if rule.destinationport: if rule.destinationport:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment