summaryrefslogtreecommitdiffstats
path: root/tun.h
diff options
context:
space:
mode:
Diffstat (limited to 'tun.h')
-rw-r--r--tun.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/tun.h b/tun.h
index 6f66961..082a6fc 100644
--- a/tun.h
+++ b/tun.h
@@ -326,7 +326,7 @@ bool dhcp_release (const struct tuntap *tt);
bool dhcp_renew (const struct tuntap *tt);
void tun_standby_init (struct tuntap *tt);
-void tun_standby (struct tuntap *tt);
+bool tun_standby (struct tuntap *tt);
int tun_read_queue (struct tuntap *tt, int maxsize);
int tun_write_queue (struct tuntap *tt, struct buffer *buf);
@@ -392,9 +392,10 @@ tun_standby_init (struct tuntap *tt)
{
}
-static inline void
+static inline bool
tun_standby (struct tuntap *tt)
{
+ return true;
}
#endif