From c8025a9536b7eb491748b7e4846c6d5048941dc8 Mon Sep 17 00:00:00 2001 From: Bence Dányi <madbence@gmail.com> Date: Thu, 30 May 2013 07:30:33 +0200 Subject: [PATCH] firewall_gui: fix typo --- firewall_gui/views.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firewall_gui/views.py b/firewall_gui/views.py index 0bd8489..d83ca37 100644 --- a/firewall_gui/views.py +++ b/firewall_gui/views.py @@ -685,11 +685,11 @@ def save_vlan(request): vlan.net6 = data['net6'].split('/')[0] vlan.prefix6 = data['ipv6'].split('/')[1] if data['ipv4'].split('/')[1] != data['net4'].split('/')[1]: - errors['ipv4'] = 'Netmask legth should be equal!' - errors['net4'] = 'Netmask legth should be equal!' + errors['ipv4'] = 'Netmask length should be equal!' + errors['net4'] = 'Netmask length should be equal!' if data['ipv6'].split('/')[1] != data['net6'].split('/')[1]: - errors['ipv6'] = 'Netmask legth should be equal!' - errors['net6'] = 'Netmask legth should be equal!' + errors['ipv6'] = 'Netmask length should be equal!' + errors['net6'] = 'Netmask length should be equal!' vlan.snat_ip = data['nat'] vlan.description = data['description'] vlan.comment = data['comment'] -- libgit2 0.26.0