summaryrefslogtreecommitdiff
path: root/lib/vty.h
diff options
context:
space:
mode:
authorChristian Hopps <chopps@labn.net>2023-03-20 15:07:44 -0400
committerChristian Hopps <chopps@gmail.com>2023-03-22 05:22:56 +0000
commit39c329bbd18b2df9b3d13c31d978555ec33b0758 (patch)
tree9cf4235d6d2fe5f8992c2d8380eb7ea5b0391ab4 /lib/vty.h
parent1401ee8bf74b7688ca5f5bdfc3411734e9f0cb3b (diff)
lib: staticd: vtysh: apply frrbot style requirements
Signed-off-by: Christian Hopps <chopps@labn.net>
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 3176a52863..b302c14913 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -392,7 +392,8 @@ extern bool vty_mgmt_fe_enabled(void);
extern int vty_mgmt_send_config_data(struct vty *vty);
extern int vty_mgmt_send_commit_config(struct vty *vty, bool validate_only,
bool abort);
-extern int vty_mgmt_send_get_config(struct vty *vty, Mgmtd__DatastoreId datastore,
+extern int vty_mgmt_send_get_config(struct vty *vty,
+ Mgmtd__DatastoreId datastore,
const char **xpath_list, int num_req);
extern int vty_mgmt_send_get_data(struct vty *vty, Mgmtd__DatastoreId datastore,
const char **xpath_list, int num_req);
@@ -403,11 +404,10 @@ extern void vty_mgmt_resume_response(struct vty *vty, bool success);
static inline bool vty_needs_implicit_commit(struct vty *vty)
{
return (frr_get_cli_mode() == FRR_CLI_CLASSIC
- ? ((vty->pending_allowed
- || vty->no_implicit_commit)
- ? false
- : true)
- : false);
+ ? ((vty->pending_allowed || vty->no_implicit_commit)
+ ? false
+ : true)
+ : false);
}
#ifdef __cplusplus