Skip to content

Commit 537585f

Browse files
committed
Remove the old NTPSymmetric model
It is no longer in use by any modules. It has been superseded by NTPHeader.
1 parent 29d8697 commit 537585f

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

lib/rex/proto/ntp/modes.rb

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -98,25 +98,6 @@ def records
9898
end
9999
end
100100

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-
120101
def ntp_control(version, operation, payload = nil)
121102
n = NTPControl.new
122103
n.version = version

0 commit comments

Comments
 (0)