Fixed various compilation issues.
This commit is contained in:
@@ -22,7 +22,7 @@ dnl
|
||||
dnl Boilerplate configuration
|
||||
dnl
|
||||
|
||||
AC_INIT([iftop], [1.0pre2], [pdw@ex-parrot.com], [http://www.ex-parrot.com/pdw/iftop/])
|
||||
AC_INIT([iftop], [1.0pre4], [pdw@ex-parrot.com], [iftop], [http://www.ex-parrot.com/pdw/iftop/])
|
||||
|
||||
AC_CONFIG_AUX_DIR(config)
|
||||
|
||||
|
||||
4
iftop.c
4
iftop.c
@@ -177,11 +177,11 @@ int in_filter_net(struct in_addr addr) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
int __inline__ ip_addr_match(struct in_addr addr) {
|
||||
static int __inline__ ip_addr_match(struct in_addr addr) {
|
||||
return addr.s_addr == if_ip_addr.s_addr;
|
||||
}
|
||||
|
||||
int __inline__ ip6_addr_match(struct in6_addr *addr) {
|
||||
static int __inline__ ip6_addr_match(struct in6_addr *addr) {
|
||||
return IN6_ARE_ADDR_EQUAL(addr, &if_ip6_addr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user