Commit f4628cc0 by Bence Dányi

firewall_gui: add TODO

parent fece1a96
...@@ -642,9 +642,9 @@ def save_vlan(request): ...@@ -642,9 +642,9 @@ def save_vlan(request):
errors = {} errors = {}
vlan.vid = data['vid'] vlan.vid = data['vid']
vlan.name = data['name'] vlan.name = data['name']
vlan.ipv4 = vlan.net4 = data['ipv4'].split('/')[0] vlan.ipv4 = vlan.net4 = data['ipv4'].split('/')[0] #TODO ez így nem jó!
vlan.prefix4 = data['ipv4'].split('/')[1] vlan.prefix4 = data['ipv4'].split('/')[1]
vlan.ipv6 = vlan.net6 = data['ipv6'].split('/')[0] vlan.ipv6 = vlan.net6 = data['ipv6'].split('/')[0] #TODO ez így nem jó!
vlan.prefix6 = data['ipv6'].split('/')[1] vlan.prefix6 = data['ipv6'].split('/')[1]
vlan.snat_ip = data['nat'] vlan.snat_ip = data['nat']
vlan.description = data['description'] vlan.description = data['description']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment