diff --git a/utils/proxy.py b/utils/proxy.py index c581810a2a402c794295ed2178b2188afa10cde7..6a46562094e76678585fc0af9a5b8d3fb7b06756 100644 --- a/utils/proxy.py +++ b/utils/proxy.py @@ -147,8 +147,14 @@ class Applier(object): route.match['dscp'].append(dscp.dscp) except: pass - if route_obj.fragmenttype: - route.match['fragment'].append(route_obj.fragmenttype) + + try: + if route_obj.fragmenttype: + for frag in route_obj.fragmenttype.all(): + route.match['fragment'].append(frag.fragmenttype) + except: + pass + for thenaction in route_obj.then.all(): if thenaction.action_value: route.then[thenaction.action] = thenaction.action_value