Fix: consider the network interface from each host.
authorGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Wed, 14 Mar 2012 23:08:29 +0000 (20:08 -0300)
committerGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Wed, 14 Mar 2012 23:11:05 +0000 (20:11 -0300)
commit035c2305d3279b9fbdd50725e46ed4f5abf9d81d
treeb8e2cf41e89c60b8fb6227fde266fc00e256a60a
parent5a936216fab793b7f9afa45d04102ffdef705499
Fix: consider the network interface from each host.
- It was keeping the same network interface (from the first host) for all hosts;
- Reduced the variable scope so it is assigned on every loop iteraction.
src/config/option/hostportoption.cpp
src/main.cpp