diff options
author | Renato Westphal <renato@openbsd.org> | 2017-08-31 18:22:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-31 18:22:55 +0200 |
commit | b3c18264e4494b37743ac586eb05d4c54cf080ac (patch) | |
tree | fb1b4b6b34e6666f59f2ed6ff2244ca007983ba5 /ospf6d | |
parent | Merge pull request #1044 from donaldsharp/combination (diff) | |
parent | *: fix style (diff) | |
download | frr-b3c18264e4494b37743ac586eb05d4c54cf080ac.tar.xz frr-b3c18264e4494b37743ac586eb05d4c54cf080ac.zip |
Merge pull request #1079 from qlyoung/fix-style-a
*: fix style
Diffstat (limited to 'ospf6d')
-rw-r--r-- | ospf6d/ospf6_top.c | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/ospf6d/ospf6_top.c b/ospf6d/ospf6_top.c index dc5792aa1..e77bf690f 100644 --- a/ospf6d/ospf6_top.c +++ b/ospf6d/ospf6_top.c @@ -306,12 +306,12 @@ DEFUN (no_router_ospf6, } /* change Router_ID commands. */ -DEFUN (ospf6_router_id, - ospf6_router_id_cmd, - "ospf6 router-id A.B.C.D", - OSPF6_STR - "Configure OSPF6 Router-ID\n" - V4NOTATION_STR) +DEFUN(ospf6_router_id, + ospf6_router_id_cmd, + "ospf6 router-id A.B.C.D", + OSPF6_STR + "Configure OSPF6 Router-ID\n" + V4NOTATION_STR) { VTY_DECLVAR_CONTEXT(ospf6, o); int idx = 0; @@ -324,8 +324,7 @@ DEFUN (ospf6_router_id, ret = inet_pton(AF_INET, router_id_str, &router_id); if (ret == 0) { - vty_out(vty, "malformed OSPF Router-ID: %s\n", - router_id_str); + vty_out(vty, "malformed OSPF Router-ID: %s\n", router_id_str); return CMD_SUCCESS; } @@ -336,13 +335,12 @@ DEFUN (ospf6_router_id, return CMD_SUCCESS; } -DEFUN (no_ospf6_router_id, - no_ospf6_router_id_cmd, - "no ospf6 router-id [A.B.C.D]", - NO_STR - OSPF6_STR - "Configure OSPF6 Router-ID\n" - V4NOTATION_STR) +DEFUN(no_ospf6_router_id, + no_ospf6_router_id_cmd, + "no ospf6 router-id [A.B.C.D]", + NO_STR OSPF6_STR + "Configure OSPF6 Router-ID\n" + V4NOTATION_STR) { VTY_DECLVAR_CONTEXT(ospf6, o); o->router_id_static = 0; |