We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9152c9f commit 46b2848Copy full SHA for 46b2848
src/services/pcn-router/src/Ports.cpp
@@ -203,6 +203,7 @@ void Ports::doSetIp(const std::string &new_ip) {
203
r_port value = router_port.get(index);
204
value.ip = ip_string_to_nbo_uint(ip_address);
205
value.netmask = ip_string_to_nbo_uint(netmask);
206
+ router_port.set(index, value);
207
} catch (...) {
208
logger()->error("Port {0} not found in the data path", this->name());
209
}
0 commit comments