Package: radvd
Version: 1:1.0-2
Severity: normal
Tags: patch

The radvdump command skips the 'AdvDefaultLifetime' field in the Router 
Advertisement.  The attached fix corrects this oversight.
  --scott


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages radvd depends on:
ii  adduser                       3.102      Add and remove users and groups
ii  libc6                         2.5-10     GNU C Library: Shared libraries

radvd recommends no packages.

-- no debconf information
--- radvd-1.0/radvdump.c~	2006-10-08 15:34:35.000000000 -0400
+++ radvd-1.0/radvdump.c	2007-06-14 13:47:22.000000000 -0400
@@ -186,6 +186,9 @@ print_ff(unsigned char *msg, int len, st
 	if (!edefs || DFLT_AdvCurHopLimit != radvert->nd_ra_curhoplimit)
 	printf("\tAdvCurHopLimit %u;\n", radvert->nd_ra_curhoplimit);
 
+	if (!edefs || (3*DFLT_MaxRtrAdvInterval) != ntohs(radvert->nd_ra_router_lifetime))
+	printf("\tAdvDefaultLifetime %hu;\n", ntohs(radvert->nd_ra_router_lifetime));
+
 	/* Mobile IPv6 ext */
 	if (!edefs || DFLT_AdvHomeAgentFlag != (ND_RA_FLAG_HOME_AGENT == (radvert->nd_ra_flags_reserved & ND_RA_FLAG_HOME_AGENT)))
 	printf("\tAdvHomeAgentFlag %s;\n", 

Reply via email to