Skip to content

Commit

Permalink
bridge: Use ovs_get_program_version().
Browse files Browse the repository at this point in the history
ovs_get_program_version() already returns the formatted program name and
version instead of doing it again.

Signed-off-by: Roi Dayan <[email protected]>
Signed-off-by: 0-day Robot <[email protected]>
  • Loading branch information
roidayan authored and ovsrobot committed Jan 16, 2025
1 parent e67f317 commit 32a57da
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vswitchd/bridge.c
Original file line number Diff line number Diff line change
Expand Up @@ -3471,8 +3471,7 @@ bridge_run(void)

vlog_enable_async();

VLOG_INFO_ONCE("%s (Open vSwitch) %s", program_name,
VERSION VERSION_SUFFIX);
VLOG_INFO_ONCE("%s", ovs_get_program_version());
}
}

Expand Down

0 comments on commit 32a57da

Please sign in to comment.