Skip to content

Commit

Permalink
Use correct API to set static config
Browse files Browse the repository at this point in the history
Change-Id: I7b6f4d07a13a21f9099d562fc45c5d5fddd0d55e
Closes-Bug: 1651298
  • Loading branch information
Sachin Bansal committed Dec 20, 2016
1 parent 18b8109 commit 0b98777
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -672,7 +672,7 @@ def add_to_global_ri_opts(self, prefix):
static_config = Static()
if ':' in prefix:
rib_config_v6 = RIB(name='inet6.0')
rib_config_v6.add_static(static_config)
rib_config_v6.set_static(static_config)
self.global_routing_options_config.add_rib(rib_config_v6)
else:
self.global_routing_options_config.add_static(static_config)
Expand Down

0 comments on commit 0b98777

Please sign in to comment.