[Bug 1604] SCTP support for openssh

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Mar 19 17:44:21 AEDT 2015


https://bugzilla.mindrot.org/show_bug.cgi?id=1604

Bert Wesarg <Bert.Wesarg at googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Bert.Wesarg at googlemail.com

--- Comment #11 from Bert Wesarg <Bert.Wesarg at googlemail.com> ---
--- a/readconf.c
+++ b/readconf.c
@@ -130,6 +130,9 @@ typedef enum {
     oPasswordAuthentication, oRSAAuthentication,
     oChallengeResponseAuthentication, oXAuthLocation,
     oIdentityFile, oHostName, oPort, oCipher, oRemoteForward,
oLocalForward,
+#ifdef SCTP
+    oTransport,
+#endif
     oUser, oEscapeChar, oRhostsRSAAuthentication, oProxyCommand,
     oGlobalKnownHostsFile, oUserKnownHostsFile, oConnectionAttempts,
     oBatchMode, oCheckHostIP, oStrictHostKeyChecking, oCompression,
@@ -198,6 +201,9 @@ static struct {
     { "hostname", oHostName },
     { "hostkeyalias", oHostKeyAlias },
     { "proxycommand", oProxyCommand },
+#ifdef SCTP
+    { "transport", oTransport },
+#endif
     { "port", oPort },
     { "cipher", oCipher },
     { "ciphers", oCiphers },

The common way to add conditional options is:

#ifdef FEATURE
    { "feature", oFeature },
#else
    { "feature", oUnsupported },
#endif

and adding the oFeature unconditionally to the OpCodes.

-- 
You are receiving this mail because:
You are watching someone on the CC list of the bug.
You are watching the assignee of the bug.


More information about the openssh-bugs mailing list