On Mon, 20 Mar 2000, Bent Bagger wrote:
> I am hunting an error in PG (the program for upload of files to the
> Microsats) and I have turned socket debug information on by doing a
> 'setsockopt(s, SOL_SOCKET, SO_DEBUG, &opt, sizeof(opt)' call. When
> I inspect the system log, I now find this message:
>
> pg uses obsolete (PF_INET,SOCK_PACKET)
This shouldn't depend on having SO_DEBUG on. You probably just haven't
noticed it before. Also you only get it once after a reboot and it may be
that you didn't see it because some other program has already got the
complaint. So it depends on the order in which you run programs after a
reboot.
> Could somebody please shed some light on the significance of this
> message, more specifically: what has been changed in the ax25utilities
> since the days of kernel 2.0.35 (I'm now on kernel 2.2.13 with glibc 2.1
> and libax25 0.0 (?)) and what changes should I do in PG to make this message
> go away?
Nothing changed in the utils, it's the kernels generic packet capture
interface that was changed. The message is completely harmless (other than
a program causing it may stop working sometime in the future if not
fixed). You can get rid of the message just by changing PF_INET ->
PF_PACKET in the source. While that is actually also obsolete (see "man
packet") I believe it will continue to work for some time still. I have
not checked what it would take to properly use (PF_PACKET, SOCK_RAW) like
suggested in the packet(4) manual page.
--
Tomi Manninen Internet: [EMAIL PROTECTED]
OH2BNS AX.25: [EMAIL PROTECTED]
KP20ME04 Amprnet: [EMAIL PROTECTED]