mirror of
https://github.com/pavel-odintsov/fastnetmon
synced 2024-06-09 09:26:09 +02:00
Change interface name to fake in plugin runner
This commit is contained in:
parent
911a3ece19
commit
cbe749b40a
Binary file not shown.
Binary file not shown.
|
@ -67,7 +67,8 @@ int main(int argc, char* argv[]) {
|
|||
}
|
||||
|
||||
// Required by Netmap and PF_RING plugins
|
||||
configuration_map["interfaces"] = "eth0";
|
||||
// We use fake interface name here because netmap could make server unreachable :)
|
||||
configuration_map["interfaces"] = "ethXXX";
|
||||
|
||||
if (strstr(argv[1], "sflow") != NULL) {
|
||||
std::cout << "Starting sflow" << std::endl;
|
||||
|
|
Loading…
Reference in New Issue