tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: COMPAT_50 vs NET_RT_IFLIST
> Sounds like you didn't compare rtm_version with RTM_VERSION.
I (think I) am; that's what's producing the "version is 4, not 3"
complaints. It's built under 5.2, with RTM_VERSION set to 3, and
running under 8.0, whose RTM_VERSION is 4.
> See here in libc:
> https://nxr.netbsd.org/xref/src/lib/libc/net/getifaddrs.c#106
Can't; that refuses to serve content over HTTP (I neither have nor want
HTTPS support, possibly excepting somewhere I don't know how to use on
the 8.0 work machine). But I did look at 8.0's
/usr/src/lib/libc/net/getifaddrs.c, and line 106 compares rtm_version
against RTM_VERSION, the next line silently(!) ignoring the blob if
they differ. My code does likewise, except that it's noisier.
The version 3 blobs I appear to be getting - the other complaints come
from code that's not run if the version is wrong - are presumably
COMPAT_50 in action, but I'm seeing complaints that seem to me to imply
that they're not actually compatible with what 5.2 produces.
I'd need to dig more to be certain, since under 5.2 those complaints,
if they appear, get cleared from the screen far too fast for me to tell
whether they're present - but I'm reasonably sure I wouldn't've left
that code in there if it tripped under 5.2. (The screen-clear time
difference appears to be X-related, nothing relevant to this list.)
But I wanted to find out whether it's supposed to work before haring
off after something that might not be there at all.
/~\ The ASCII Mouse
\ / Ribbon Campaign
X Against HTML mouse%rodents-montreal.org@localhost
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
Home |
Main Index |
Thread Index |
Old Index