jackburton79 / ocs-agent

Lite inventory agent (compatibile with ocsinventory-ng and glpi)
GNU General Public License v3.0
15 stars 6 forks source link

Changed the way we retrieve the default gateway #15

Closed jackburton79 closed 7 years ago

jackburton79 commented 7 years ago

Now we use the netlink api. Also removed NetworkRoster::GetDefaultGateway() and added NetworkInterface::DefaultGateway() Might be buggy but seems to work