From c991f87a82e48a7743f90c162c19f0ca549922c5 Mon Sep 17 00:00:00 2001 From: Razvan Becheriu Date: Fri, 13 Mar 2020 15:48:39 +0200 Subject: [PATCH] [#931] addressed review comments --- src/bin/perfdhcp/command_options.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/perfdhcp/command_options.h b/src/bin/perfdhcp/command_options.h index 3df4bfc3d5..49a0573ba7 100644 --- a/src/bin/perfdhcp/command_options.h +++ b/src/bin/perfdhcp/command_options.h @@ -383,7 +383,7 @@ public: /// \brief Returns random giaddr. /// /// \return single string containing giaddr. - std::string getRandGiaddr() { return giaddr_list_[rand() % giaddr_list_.size()];} + std::string getRandGiaddr() { return giaddr_list_[rand() % giaddr_list_.size()]; } /// \brief Check if multi subnet mode is enabled. ///