Re: Obsolete AX.25 socket structure

From: Tomi Manninen (terhi.victor@logonet.com)
Date: Sat Sep 14 2002 - 23:02:38 EEST

  • Next message: Bent Bagger: "Re: Obsolete AX.25 socket structure"

    On Sat, 14 Sep 2002, Bent Bagger wrote:

    > <date> <host> kernel: ax25_sendmsg(): pb uses obsolete socket sructure

    > bind (s_directory, (struct sockaddr *)&src, sizeof(src));

    > and src is a struct sockaddr_ax25 with my call in it.

    Currently you are supposed to feed a "struct full_sockaddr_ax25" to bind
    instead of a "struct sockaddr_ax25". That should be a simple modification
    to your program. Just make sure sax25_ndigis is zero.

    -- 
    Tomi Manninen           Internet:  elrrljvg.ufjxkxhjeq@carter.to
    OH2BNS                  AX.25:     bjarcbvt.czws@ithink.com
    KP20ME04                Amprnet:   booao@kerailya.tunkki.fi
    

    - To unsubscribe from this list: send the line "unsubscribe linux-hams" in the body of a message to reik@jdisoft.com More majordomo info at http://vger.kernel.org/majordomo-info.html



    This archive was generated by hypermail 2b30 : Sat Sep 14 2002 - 23:02:57 EEST