Skip to content

Commit

Permalink
[SCTP]: Use menuconfig objects.
Browse files Browse the repository at this point in the history
Use menuconfigs instead of menus, so the whole menu can be disabled at
once instead of going through all options.

Signed-off-by: Jan Engelhardt <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Jan Engelhardt authored and David S. Miller committed May 24, 2007
1 parent a6938a1 commit 29e32cc
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions net/sctp/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@
# SCTP configuration
#

menu "SCTP Configuration (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL

config IP_SCTP
menuconfig IP_SCTP
tristate "The SCTP Protocol (EXPERIMENTAL)"
depends on INET && EXPERIMENTAL
depends on IPV6 || IPV6=n
select CRYPTO if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
select CRYPTO_HMAC if SCTP_HMAC_SHA1 || SCTP_HMAC_MD5
Expand Down Expand Up @@ -36,9 +34,10 @@ config IP_SCTP

If in doubt, say N.

if IP_SCTP

config SCTP_DBG_MSG
bool "SCTP: Debug messages"
depends on IP_SCTP
help
If you say Y, this will enable verbose debugging messages.

Expand All @@ -47,7 +46,6 @@ config SCTP_DBG_MSG

config SCTP_DBG_OBJCNT
bool "SCTP: Debug object counts"
depends on IP_SCTP
help
If you say Y, this will enable debugging support for counting the
type of objects that are currently allocated. This is useful for
Expand All @@ -59,7 +57,6 @@ config SCTP_DBG_OBJCNT

choice
prompt "SCTP: Cookie HMAC Algorithm"
depends on IP_SCTP
default SCTP_HMAC_MD5
help
HMAC algorithm to be used during association initialization. It
Expand All @@ -86,4 +83,5 @@ config SCTP_HMAC_MD5
advised to use either HMAC-MD5 or HMAC-SHA1.

endchoice
endmenu

endif # IP_SCTP

0 comments on commit 29e32cc

Please sign in to comment.