Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2011 14:49:56 +0400
From:      Sergey Kandaurov <pluknet@gmail.com>
To:        jyl <yilinjing@gmail.com>
Cc:        freebsd-net@freebsd.org
Subject:   Re: when enable options SCTP_DEBUG in kernel configure file , where to get the message of debug?
Message-ID:  <CAE-mSOJvVx3GciN4m6-y%2Bki9bgf9L9XNs_-H4zUZkNWOKW2g4Q@mail.gmail.com>
In-Reply-To: <1317376089705-4856441.post@n5.nabble.com>
References:  <1317376089705-4856441.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 30 September 2011 13:48, jyl <yilinjing@gmail.com> wrote:
> My Os is FreeBSD 9.0 Beta2.
> In kernel configure file, =A0I enable the option of SCTP_DEBUG and rebuil=
d the
> kernel. Then I use sctp to send or recv data from another computer ,after
> that I check the result from var/log/message or var/log/dmesg , both of t=
he
> two files show any message about sctp debug.
>
> can anyone help me, why it does not work?
>

Hi,

you probably also need to actually enable it. Try this:
sysctl net.inet.sctp.debug =3D 1

--=20
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAE-mSOJvVx3GciN4m6-y%2Bki9bgf9L9XNs_-H4zUZkNWOKW2g4Q>