FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 1bd975b1 authored by Robert Franklin's avatar Robert Franklin
Browse files

tidy: Context_RtrBGP uses cmd from Cmd_RtrBGP

improves consistency and clarity
parent e4bc354a
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ class Cvt_RtrBGP(Convert):
class Context_RtrBGP(Convert):
context = "router", "bgp", None
context = Cvt_RtrBGP.cmd
def enter(self, asn):
return ["router bgp " + asn]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment