Subject: pkg/33183: userppp problem with recent tun(4)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <nand@mac.com>
List: pkgsrc-bugs
Date: 04/03/2006 09:20:00
>Number: 33183
>Category: pkg
>Synopsis: userppp problem with recent tun(4)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 03 09:20:00 +0000 2006
>Originator: Nozomu Ando
>Release: netbsd-3.99.17 (CVS trunk: 2006-03-24 UTC)
>Organization:
>Environment:
NetBSD macppc1 3.99.17 NetBSD 3.99.17 (ODT) #1: Mon Apr 3 11:58:28 JST 2006 nand@mika:/w/netbsd/macppc/060324/obj/sys/arch/macppc/compile/ODT macppc
>Description:
My userppp stops working since upgrading CVS trunk of 2006-03-24.
Error message:
ppp[715]: Error: ip_Input: deflink: wrote 40, got Address family not supported by protocol family
Reverting to kernel of 2006-02-20 fixes it.
>How-To-Repeat:
>Fix:
I have only a workaround. The following patch breaks userppp on older kernel, probably.
*** ppp/bundle.c.orig Mon Apr 3 17:04:52 2006
--- ppp/bundle.c Mon Apr 3 17:05:13 2006
***************
*** 778,784 ****
} else
bundle.dev.header = 1;
#else
! #ifdef __OpenBSD__
/* Always present for OpenBSD */
bundle.dev.header = 1;
#else
--- 778,784 ----
} else
bundle.dev.header = 1;
#else
! #if defined(__OpenBSD__) || defined(__NetBSD__)
/* Always present for OpenBSD */
bundle.dev.header = 1;
#else