diff --git a/scapy/layers/inet6.py b/scapy/layers/inet6.py
index 3de5a55cec7fcf2f8bfb9fe385997e6c2d206824..504744d884167b47c77c455962e4cea78a029f22 100644
--- a/scapy/layers/inet6.py
+++ b/scapy/layers/inet6.py
@@ -338,7 +338,7 @@ class _IPv6GuessPayload:
if len(p) >= icmp6typesminhdrlen.get(t, sys.maxint): # Other ICMPv6 messages
return get_cls(icmp6typescls.get(t,"Raw"), "Raw")
return Raw
- elif self.nh == 135 and len(p) > 3: # Mobile IPv6
+ elif self.nh == 135 and len(p) > 3: # Mobile IPv6
return _mip6_mhtype2cls.get(ord(p[2]), MIP6MH_Generic)
else:
return get_cls(ipv6nhcls.get(self.nh,"Raw"), "Raw")