diff options
author | Vlad Yasevich <vladislav.yasevich@hp.com> | 2008-01-07 00:27:16 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-08 23:30:02 -0800 |
commit | f691724c4d3b150bfa9cc8a969ea2020e20dfb12 (patch) | |
tree | 4c78a6dd1e934457e9ae0a38fd0bc2ff35987841 | |
parent | 52961955aa180959158faeb9fd6b4f8a591450f5 (diff) | |
download | op-kernel-dev-f691724c4d3b150bfa9cc8a969ea2020e20dfb12.zip op-kernel-dev-f691724c4d3b150bfa9cc8a969ea2020e20dfb12.tar.gz |
[SCTP]: Fix the name of the authentication event.
The even should be called SCTP_AUTHENTICATION_INDICATION.
Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/sctp/user.h | 2 | ||||
-rw-r--r-- | net/sctp/ulpevent.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h index 00848b6..954090b 100644 --- a/include/net/sctp/user.h +++ b/include/net/sctp/user.h @@ -450,7 +450,7 @@ enum sctp_sn_type { SCTP_SHUTDOWN_EVENT, SCTP_PARTIAL_DELIVERY_EVENT, SCTP_ADAPTATION_INDICATION, - SCTP_AUTHENTICATION_EVENT, + SCTP_AUTHENTICATION_INDICATION, }; /* Notification error codes used to fill up the error fields in some diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c index 2c17c7e..3073143 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c @@ -830,7 +830,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey( ak = (struct sctp_authkey_event *) skb_put(skb, sizeof(struct sctp_authkey_event)); - ak->auth_type = SCTP_AUTHENTICATION_EVENT; + ak->auth_type = SCTP_AUTHENTICATION_INDICATION; ak->auth_flags = 0; ak->auth_length = sizeof(struct sctp_authkey_event); |