Revision 7fac6521 utils/proxy.py

b/utils/proxy.py
92 92
                route.match['source'].append(route_obj.source)
93 93
            if route_obj.destination:
94 94
                route.match['destination'].append(route_obj.destination)
95
            if route_obj.protocol:
96
                route.match['protocol'].append(route_obj.protocol)
95
            try:
96
                if route_obj.protocol:
97
                    for protocol in route_obj.protocol.all():
98
                        route.match['protocol'].append(protocol.protocol)
99
            except:
100
                pass
97 101
            try:
98 102
                if route_obj.port:
99 103
                    for port in route_obj.port.all():

Also available in: Unified diff