Do not send duplicate data for ntp servers

in the case where multiple network interfaces are present each
interface will return the same ntp server data

Tested: on the system that has multiple eth interfaces

Signed-off-by: Radivoje Jovanovic <radivoje.jovanovic@intel.com>
Change-Id: I642aae7a1c07f7629d696f177ddf326d25e36fb1
diff --git a/redfish-core/lib/network_protocol.hpp b/redfish-core/lib/network_protocol.hpp
index 7b665eb..eda9915 100644
--- a/redfish-core/lib/network_protocol.hpp
+++ b/redfish-core/lib/network_protocol.hpp
@@ -132,7 +132,7 @@
 
     getEthernetIfaceData([hostName, asyncResp](
                              const bool& success,
-                             const std::vector<std::string>& ntpServers,
+                             std::vector<std::string>& ntpServers,
                              const std::vector<std::string>& domainNames) {
         if (!success)
         {
@@ -140,6 +140,7 @@
                                        "NetworkProtocol");
             return;
         }
+        stl_utils::removeDuplicate(ntpServers);
         asyncResp->res.jsonValue["NTP"]["NTPServers"] = ntpServers;
         if (!hostName.empty())
         {