From: Roy Marples Date: Thu, 24 Jan 2008 11:14:18 +0000 (+0000) Subject: Bump version and fix infiniband number. X-Git-Tag: v3.2.3~70 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b573fc74fe01d2ff7e857af758979f32ebb0a8b;p=thirdparty%2Fdhcpcd.git Bump version and fix infiniband number. --- diff --git a/Makefile b/Makefile index a4e8e0db..325241e7 100644 --- a/Makefile +++ b/Makefile @@ -7,7 +7,7 @@ SRCS= arp.c client.c common.c configure.c dhcp.c dhcpcd.c duid.c \ info.c interface.c ipv4ll.c logger.c signal.c socket.c MAN= dhcpcd.8 -VERSION= 3.1.9 +VERSION= 3.1.10_pre1 CLEANFILES= version.h dhcpcd.8 BINDIR= ${PREFIX}/sbin diff --git a/interface.h b/interface.h index 378f4151..58eb0b96 100644 --- a/interface.h +++ b/interface.h @@ -54,10 +54,10 @@ /* The BSD's don't define this yet */ #ifndef ARPHRD_INFINIBAND -# define ARPHRD_INFINIBAND 27 +# define ARPHRD_INFINIBAND 32 #endif -#define HWADDR_LEN 20 +#define HWADDR_LEN 20 /* Work out if we have a private address or not * 10/8 @@ -66,13 +66,13 @@ */ #ifndef IN_PRIVATE # define IN_PRIVATE(addr) (((addr & IN_CLASSA_NET) == 0x0a000000) || \ - ((addr & 0xfff00000) == 0xac100000) || \ - ((addr & IN_CLASSB_NET) == 0xc0a80000)) + ((addr & 0xfff00000) == 0xac100000) || \ + ((addr & IN_CLASSB_NET) == 0xc0a80000)) #endif -#define LINKLOCAL_ADDR 0xa9fe0000 -#define LINKLOCAL_MASK 0xffff0000 -#define LINKLOCAL_BRDC 0xa9feffff +#define LINKLOCAL_ADDR 0xa9fe0000 +#define LINKLOCAL_MASK 0xffff0000 +#define LINKLOCAL_BRDC 0xa9feffff #ifndef IN_LINKLOCAL # define IN_LINKLOCAL(addr) ((addr & IN_CLASSB_NET) == LINKLOCAL_ADDR) @@ -135,18 +135,18 @@ int set_mtu (const char *ifname, short int mtu); int add_address (const char *ifname, struct in_addr address, struct in_addr netmask, struct in_addr broadcast); int del_address (const char *ifname, struct in_addr address, - struct in_addr netmask); + struct in_addr netmask); int flush_addresses (const char *ifname); in_addr_t get_address (const char *ifname); int has_address (const char *ifname, struct in_addr address); int add_route (const char *ifname, struct in_addr destination, - struct in_addr netmask, struct in_addr gateway, int metric); + struct in_addr netmask, struct in_addr gateway, int metric); int change_route (const char *ifname, struct in_addr destination, - struct in_addr netmask, struct in_addr gateway, int metric); + struct in_addr netmask, struct in_addr gateway, int metric); int del_route (const char *ifname, struct in_addr destination, - struct in_addr netmask, struct in_addr gateway, int metric); + struct in_addr netmask, struct in_addr gateway, int metric); int inet_ntocidr (struct in_addr address); int inet_cidrtoaddr (int cidr, struct in_addr *addr);