summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/net/dhcp/core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/dhcp/core.rb b/lib/net/dhcp/core.rb
index 5ed844c..9a97f51 100644
--- a/lib/net/dhcp/core.rb
+++ b/lib/net/dhcp/core.rb
@@ -157,7 +157,7 @@ module DHCP
self.giaddr
].pack('C4Nn2N4')
- out << self.chaddr.pack('C*')
+ out << self.chaddr.pack('C16')
# sname and file
@@ -319,4 +319,4 @@ module DHCP
}
-end \ No newline at end of file
+end