Commit c595fda5 authored by Stephen Hemminger's avatar Stephen Hemminger

veth: use kernel header file

Use santized kernel header for veth.h and put in correct place
to prevent possible future problems with API.
Signed-off-by: default avatarStephen Hemminger <shemminger@linux-foundation.org>
parent f9329cca
#ifndef __NET_VETH_H__ #ifndef __NET_VETH_H_
#define __NET_VETH_H__ #define __NET_VETH_H_
enum { enum {
VETH_INFO_UNSPEC, VETH_INFO_UNSPEC,
......
...@@ -11,12 +11,11 @@ ...@@ -11,12 +11,11 @@
*/ */
#include <string.h> #include <string.h>
#include <net/if.h>
#include <net/veth.h>
#include "utils.h" #include "utils.h"
#include "ip_common.h" #include "ip_common.h"
#include "veth.h"
#define IFNAMSIZ 16
static void usage(void) static void usage(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment