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

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

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