mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
Merge 3c40209b2c
into 3dd4d417be
This commit is contained in:
commit
97d79b8ace
|
@ -1799,7 +1799,10 @@ class Router(Node):
|
|||
|
||||
# Really want to use sysctl_atleast here, but only when MPLS is actually being
|
||||
# used
|
||||
self.cmd("echo 100000 > /proc/sys/net/mpls/platform_labels")
|
||||
if self.hasmpls == True:
|
||||
self.cmd("echo 100000 > /proc/sys/net/mpls/platform_labels")
|
||||
else:
|
||||
self.cmd("echo 100000 > /proc/sys/net/mpls/platform_labels")
|
||||
|
||||
if g_pytest_config.name_in_option_list(self.name, "--shell"):
|
||||
self.run_in_window(os.getenv("SHELL", "bash"), title="sh-%s" % self.name)
|
||||
|
|
Loading…
Reference in a new issue