diff --git a/base.go b/base.go index 89e67b9..cce932f 100644 --- a/base.go +++ b/base.go @@ -26,6 +26,7 @@ const ( SATAMessaging DeviceNodeSubType = 18 MacMessagingSubType DeviceNodeSubType = 11 IPv4MessagingSubType DeviceNodeSubType = 12 + IPv6MessagingSubType DeviceNodeSubType = 13 ) const EndOfEntireDevicePath DeviceNodeSubType = 0xFF diff --git a/ipv6.go b/ipv6.go index 49e0e7b..ceb0d2e 100644 --- a/ipv6.go +++ b/ipv6.go @@ -20,7 +20,7 @@ func (ip *Ipv6DevicePath) Type() DeviceNodeType { } func (ip *Ipv6DevicePath) SubType() DeviceNodeSubType { - return IPv4MessagingSubType + return IPv6MessagingSubType } func (ip *Ipv6DevicePath) Bytes() []byte {