aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main.h2
-rw-r--r--slirp.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/main.h b/main.h
index e932cd0..a900c95 100644
--- a/main.h
+++ b/main.h
@@ -31,7 +31,7 @@ extern char *exec_shell;
extern u_int curtime;
extern fd_set *global_readfds, *global_writefds, *global_xfds;
extern struct in_addr loopback_addr;
-extern in_addr_t loopback_mask;
+extern unsigned long loopback_mask;
extern char *username;
extern char *socket_path;
extern int towrite_max;
diff --git a/slirp.c b/slirp.c
index 34166d7..fc2b75f 100644
--- a/slirp.c
+++ b/slirp.c
@@ -30,7 +30,7 @@
/* host loopback address */
struct in_addr loopback_addr;
/* host loopback network mask */
-in_addr_t loopback_mask;
+unsigned long loopback_mask;
/* emulated hosts use the MAC addr 52:55:IP:IP:IP:IP */
static const uint8_t special_ethaddr[ETH_ALEN] = { 0x52, 0x55, 0x00,