diff options
| author | Christian Hopps <chopps@labn.net> | 2023-03-20 15:07:44 -0400 | 
|---|---|---|
| committer | Christian Hopps <chopps@gmail.com> | 2023-03-22 05:22:56 +0000 | 
| commit | 39c329bbd18b2df9b3d13c31d978555ec33b0758 (patch) | |
| tree | 9cf4235d6d2fe5f8992c2d8380eb7ea5b0391ab4 /lib/vty.h | |
| parent | 1401ee8bf74b7688ca5f5bdfc3411734e9f0cb3b (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.h | 12 | 
1 files changed, 6 insertions, 6 deletions
@@ -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  | 
