* frontend/saned.c: replaced in_addr_t mask; by u_int32_t mask; in

check_v4_in_range(). in_addr_t doesn't seem to exist on OS/2, and
it's nothing more than an unsigned 32 bits integer.
merge-requests/1/head
Julien BLACHE 2003-10-22 16:58:58 +00:00
rodzic d932a34be3
commit 97496000ce
2 zmienionych plików z 6 dodań i 1 usunięć

Wyświetl plik

@ -1,3 +1,8 @@
2003-10-22 Julien Blache <jb@jblache.org>
* frontend/saned.c: replaced in_addr_t mask; by u_int32_t mask; in
check_v4_in_range(). in_addr_t doesn't seem to exist on OS/2, and
it's nothing more than an unsigned 32 bits integer.
2003-10-22 Gerhard Jaeger <gerhard@gjaeger.de>
* configure configure.in include/sane/config.in.h: added checks for iopl

Wyświetl plik

@ -480,7 +480,7 @@ check_v4_in_range (struct sockaddr_in *sin, char *base_ip, char *netmask)
int cidr;
int i, err;
char *end;
in_addr_t mask;
u_int32_t mask;
struct sockaddr_in *base;
struct addrinfo hints;
struct addrinfo *res;