Browse Source

Poprawka wyświetlania gateway'a

master
daron 7 years ago
parent
commit
090c0268e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Simulation.cpp

+ 1
- 1
Simulation.cpp View File

@ -288,7 +288,7 @@ void Simulation::natOverflowSimulation(int nNodes)
client[i].setMask("255.255.255.0");
client[i].setGatewayIp("10.13.12.254");
ss.str("");
ss << "IP 10.13.12." << (i + 1) << "/24, Gateway: 10.0.0.1";
ss << "IP 10.13.12." << (i + 1) << "/24, Gateway: 10.13.12.254";
client[i].print(ss.str());
usleep(12500);
}

Loading…
Cancel
Save