uint8_t neg;
const char *broad_uni;
const struct in6_addr alldhcp = IN6ADDR_LINKLOCAL_ALLDHCP_INIT;
- int hoplimit = HOPLIMIT;
+ int hoplimit = 1; /* Relay agents bump this up */
memset(&dst, 0, sizeof(dst));
dst.sin6_family = AF_INET6;
#include "dhcpcd.h"
#define ALLROUTERS "ff02::2"
-#define HOPLIMIT 255
#define ROUNDUP8(a) (1 + (((a) - 1) | 7))
struct sockaddr_in6 dst;
struct cmsghdr *cm;
struct in6_pktinfo pi;
- int hoplimit = HOPLIMIT;
+ int hoplimit = 255; /* RFC4861 4.1 */
if (ipv6_linklocal(ifp) == NULL) {
syslog(LOG_DEBUG,
struct sockaddr_in6 dst;
struct cmsghdr *cm;
struct in6_pktinfo pi;
- int hoplimit = HOPLIMIT;
+ int hoplimit = 255; /* RFC4861 4.1 */
struct timeval tv, rtv;
struct ipv6_ctx *ctx;