summaryrefslogtreecommitdiff
path: root/lib/net/ssh/connection/constants.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/ssh/connection/constants.rb')
-rw-r--r--lib/net/ssh/connection/constants.rb18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/net/ssh/connection/constants.rb b/lib/net/ssh/connection/constants.rb
index d96bc92..a2b0257 100644
--- a/lib/net/ssh/connection/constants.rb
+++ b/lib/net/ssh/connection/constants.rb
@@ -1,23 +1,23 @@
-module Net
- module SSH
+module Net
+ module SSH
module Connection
# Definitions of constants that are specific to the connection layer of the
# SSH protocol.
module Constants
-
+
#--
# Connection protocol generic messages
#++
-
+
GLOBAL_REQUEST = 80
REQUEST_SUCCESS = 81
REQUEST_FAILURE = 82
-
+
#--
# Channel related messages
#++
-
+
CHANNEL_OPEN = 90
CHANNEL_OPEN_CONFIRMATION = 91
CHANNEL_OPEN_FAILURE = 92
@@ -29,7 +29,9 @@ module Net
CHANNEL_REQUEST = 98
CHANNEL_SUCCESS = 99
CHANNEL_FAILURE = 100
-
+
end
-end; end end \ No newline at end of file
+ end
+ end
+end