aboutsummaryrefslogtreecommitdiffstats
path: root/sgsnemu/tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'sgsnemu/tun.h')
-rw-r--r--sgsnemu/tun.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sgsnemu/tun.h b/sgsnemu/tun.h
index eb82162..7972c53 100644
--- a/sgsnemu/tun.h
+++ b/sgsnemu/tun.h
@@ -44,6 +44,7 @@ struct tun_t {
struct in_addr dstaddr;
struct in_addr netmask;
int addrs; /* Number of allocated IP addresses */
+ int routes; /* One if we allocated an automatic route */
char devname[IFNAMSIZ];/* Name of the tun device */
int (*cb_ind) (struct tun_t *tun, void *pack, unsigned len);
};