diff options
-rw-r--r-- | include/net/sctp/user.h | 3 | ||||
-rw-r--r-- | net/sctp/ulpevent.c | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/net/sctp/user.h b/include/net/sctp/user.h index 793617ecbfdf..4525d8c7f71a 100644 --- a/include/net/sctp/user.h +++ b/include/net/sctp/user.h | |||
@@ -408,7 +408,8 @@ enum sctp_sn_type { | |||
408 | SCTP_SHUTDOWN_EVENT, | 408 | SCTP_SHUTDOWN_EVENT, |
409 | SCTP_PARTIAL_DELIVERY_EVENT, | 409 | SCTP_PARTIAL_DELIVERY_EVENT, |
410 | SCTP_ADAPTATION_INDICATION, | 410 | SCTP_ADAPTATION_INDICATION, |
411 | SCTP_AUTHENTICATION_INDICATION, | 411 | SCTP_AUTHENTICATION_EVENT, |
412 | #define SCTP_AUTHENTICATION_INDICATION SCTP_AUTHENTICATION_EVENT | ||
412 | }; | 413 | }; |
413 | 414 | ||
414 | /* Notification error codes used to fill up the error fields in some | 415 | /* 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 dff27d5e22fd..62d4a7bbaaea 100644 --- a/net/sctp/ulpevent.c +++ b/net/sctp/ulpevent.c | |||
@@ -843,7 +843,7 @@ struct sctp_ulpevent *sctp_ulpevent_make_authkey( | |||
843 | ak = (struct sctp_authkey_event *) | 843 | ak = (struct sctp_authkey_event *) |
844 | skb_put(skb, sizeof(struct sctp_authkey_event)); | 844 | skb_put(skb, sizeof(struct sctp_authkey_event)); |
845 | 845 | ||
846 | ak->auth_type = SCTP_AUTHENTICATION_INDICATION; | 846 | ak->auth_type = SCTP_AUTHENTICATION_EVENT; |
847 | ak->auth_flags = 0; | 847 | ak->auth_flags = 0; |
848 | ak->auth_length = sizeof(struct sctp_authkey_event); | 848 | ak->auth_length = sizeof(struct sctp_authkey_event); |
849 | 849 | ||