Mike,
Found some problems in diald-0.99. It conditionally compiles
some stuff in depending on whether AF_NETLINK and AF_PACKET are
defined - presumably to use some 2.2 kernel features. I'm working on a
mutant 2.0 system w/glibc installed. Glibc defines these symbols,
although whatever features they represent aren't in my
kernel. Unsurprisingly, stock diald won't work on my system - I need
to undef these symbols by hand in diald.h; moreover, proxy_dev.c
wouldn't compile w/o these symbols defined. Patch follows. Anyways, it
seems that the existence of these symbols doesn't guarantee kernel
features - is there some other way to test for the kernel
version/feature availability?
Anyways, thanks for shouldering the diald burden.
==========================================
Bill Reynolds
[EMAIL PROTECTED]
*** proxy_dev.c Thu May 20 00:10:11 1999
--- proxy_dev.c~ Sun Apr 4 07:22:38 1999
***************
*** 33,42 ****
{
struct sockaddr *to;
struct sockaddr_pkt sp;
- size_t to_len;
#ifdef HAVE_AF_PACKET
struct sockaddr_ll sl;
!
if (af_packet) {
memset(&sl, 0, sizeof(sl));
--- 33,41 ----
{
struct sockaddr *to;
struct sockaddr_pkt sp;
#ifdef HAVE_AF_PACKET
struct sockaddr_ll sl;
! size_t to_len;
if (af_packet) {
memset(&sl, 0, sizeof(sl));
-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]