lib/packetgen/header/bootp.rb in packetgen-3.1.3 vs lib/packetgen/header/bootp.rb in packetgen-3.1.4
- old
+ new
@@ -1,12 +1,12 @@
+# frozen_string_literal: true
+
# This file is part of PacketGen
# See https://github.com/sdaubert/packetgen for more informations
# Copyright (C) 2016 Sylvain Daubert <sylvain.daubert@laposte.net>
# This program is published under MIT license.
-# frozen_string_literal: true
-
module PacketGen
module Header
# Bootstrap Protocol, {https://tools.ietf.org/html/rfc951
# RFC 951}
#
@@ -43,10 +43,10 @@
UDP_CLIENT_PORT = 68
# DHCP opcodes
OPCODES = {
'BOOTREQUEST' => 1,
- 'BOOTREPLY' => 2
+ 'BOOTREPLY' => 2
}.freeze
# @!attribute op
# 8-bit opcode
# @return [Integer]