mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-26 07:19:03 +00:00
Fixed 236: fixed identifier network when you add local networks
This commit is contained in:
parent
c41bb4c6d5
commit
32dddb0ed1
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ AddressResolution::AddressResolution() {
|
|||
/* ******************************************* */
|
||||
|
||||
void AddressResolution::addLocalNetwork(char *_net) {
|
||||
if(localNetworks.addNetworks(_net, 1)) {
|
||||
if(localNetworks.addNetworks(_net, num_local_networks)) {
|
||||
local_networks[num_local_networks] = strdup(_net);
|
||||
num_local_networks++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue