We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29d8697 commit 537585fCopy full SHA for 537585f
lib/rex/proto/ntp/modes.rb
@@ -98,25 +98,6 @@ def records
98
end
99
100
101
- class NTPSymmetric < BinData::Record
102
- alias size num_bytes
103
- endian :big
104
- bit2 :li
105
- bit3 :version, initial_value: 3
106
- bit3 :mode
107
- uint8 :stratum
108
- uint8 :poll
109
- uint8 :precision
110
- uint32 :root_delay
111
- uint32 :root_dispersion
112
- uint32 :reference_id
113
- uint64 :reference_timestamp
114
- uint64 :origin_timestamp
115
- uint64 :receive_timestamp
116
- uint64 :transmit_timestamp
117
- rest :payload
118
- end
119
-
120
def ntp_control(version, operation, payload = nil)
121
n = NTPControl.new
122
n.version = version
0 commit comments