In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] writes:

>static int
>mpls_attach(struct socket *so)

The prototype for a protocol attach functions is

        int     (*pru_attach)(struct socket *so, int proto, struct thread *td);

(see sys/protosw.h).  You don't have to use these arguments, but you
do have to declare them properly.

-GAWollman
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to