mirror of
https://github.com/sheumann/hush.git
synced 2024-12-22 14:30:31 +00:00
- forgot to include ip_common.h
This commit is contained in:
parent
d0f33b3ce8
commit
620e57b421
@ -24,6 +24,7 @@
|
|||||||
|
|
||||||
#include "rt_names.h"
|
#include "rt_names.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
#include "ip_common.h"
|
||||||
/*
|
/*
|
||||||
static void usage(void) __attribute__((noreturn));
|
static void usage(void) __attribute__((noreturn));
|
||||||
|
|
||||||
@ -158,7 +159,7 @@ static int print_rule(struct sockaddr_nl *who ATTRIBUTE_UNUSED,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iprule_list(int argc, char **argv)
|
static int iprule_list(int argc, char **argv)
|
||||||
{
|
{
|
||||||
struct rtnl_handle rth;
|
struct rtnl_handle rth;
|
||||||
int af = preferred_family;
|
int af = preferred_family;
|
||||||
@ -188,7 +189,7 @@ int iprule_list(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int iprule_modify(int cmd, int argc, char **argv)
|
static int iprule_modify(int cmd, int argc, char **argv)
|
||||||
{
|
{
|
||||||
int table_ok = 0;
|
int table_ok = 0;
|
||||||
struct rtnl_handle rth;
|
struct rtnl_handle rth;
|
||||||
|
Loading…
Reference in New Issue
Block a user