net: Add net log prefix

For better logging.

Signed-off-by: Cyrill Gorcunov <gorcunov@virtuozzo.com>
Signed-off-by: Pavel Tikhomirov <ptikhomirov@virtuozzo.com>
This commit is contained in:
Cyrill Gorcunov 2018-06-21 13:09:18 +03:00 committed by Andrei Vagin
parent 7f0f07599a
commit 8e6fa9c3b9

View file

@ -51,6 +51,9 @@
#include "images/netdev.pb-c.h"
#include "images/inventory.pb-c.h"
#undef LOG_PREFIX
#define LOG_PREFIX "net: "
#ifndef IFLA_NEW_IFINDEX
#define IFLA_NEW_IFINDEX 49
#endif