kni初始化失败直接exit

This commit is contained in:
崔一鸣
2019-09-07 20:21:50 +08:00
parent cd7408e155
commit 8fd5c4417d
3 changed files with 9 additions and 7 deletions

View File

@@ -15,6 +15,9 @@
#include "Maat_rule.h"
#include "Maat_command.h"
#include "mrtunnat.h"
#include <sys/ioctl.h>
#include <netinet/ip6.h>
#include <net/if.h>
#define KNI_STRING_MAX 2048
#define KNI_PATH_MAX 256