Skip to content

Commit

Permalink
[SCTP]: Fix the name of the authentication event.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Vlad Yasevich authored and David S. Miller committed Jan 9, 2008
1 parent 5296195 commit f691724
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion include/net/sctp/user.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion net/sctp/ulpevent.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f691724

Please sign in to comment.