diff options
Diffstat (limited to 'test/lib/gobgp.py')
-rw-r--r-- | test/lib/gobgp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/lib/gobgp.py b/test/lib/gobgp.py index 22b68385..06924edd 100644 --- a/test/lib/gobgp.py +++ b/test/lib/gobgp.py @@ -244,9 +244,9 @@ class GoBGPContainer(BGPContainer): def f(v): if v == 'reject': - return 1 + return 'reject-route' elif v == 'accept': - return 0 + return 'accept-route' raise Exception('invalid default policy type {0}'.format(v)) if len(default_import_policy) > 0: |