Process RARP packets with ethertype 0x8035 similar to ARP packets.
[openvswitch] / lib / ofp-parse.c
index dedfb7e27ca90e4249a1164633e70c394bd2c7b6..054db60e440f73454fb33ca8bd25baed15897589 100644 (file)
@@ -720,7 +720,8 @@ parse_protocol(const char *name, const struct protocol **p_out)
         { "icmp6", ETH_TYPE_IPV6, IPPROTO_ICMPV6 },
         { "tcp6", ETH_TYPE_IPV6, IPPROTO_TCP },
         { "udp6", ETH_TYPE_IPV6, IPPROTO_UDP },
-    };
+        { "rarp", ETH_TYPE_RARP, 0},
+};
     const struct protocol *p;
 
     for (p = protocols; p < &protocols[ARRAY_SIZE(protocols)]; p++) {