commit | 163b455be869f6aef36f2fedf6913e1a38d64ad5 | [log] [tgz] |
---|---|---|
author | jjako <jjako> | Thu Dec 30 15:33:58 2004 +0000 |
committer | jjako <jjako> | Thu Dec 30 15:33:58 2004 +0000 |
tree | fdc487c9a8f5f8c7069b2a375261dc088adf1142 | |
parent | d37c136bcbab775fbaf9608f51c5dcd8bb6e1df1 [diff] [blame] |
Fixed delete route on freebsd et. al.
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 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); };