datapath: Fix typos in Netlink debugging messages.
authorpritesh <pritesh.kothari@cisco.com>
Mon, 19 Aug 2013 19:00:22 +0000 (12:00 -0700)
committerJesse Gross <jesse@nicira.com>
Tue, 20 Aug 2013 00:42:57 +0000 (17:42 -0700)
Signed-off-by: pritesh <pritesh.kothari@cisco.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
datapath/flow.c

index 4075350..3b3e0aa 100644 (file)
@@ -1202,7 +1202,7 @@ int ovs_ipv4_tun_from_nlattr(const struct nlattr *attr,
 
                if (ovs_tunnel_key_lens[type] != nla_len(a)) {
                        OVS_NLERR("IPv4 tunnel attribute type has unexpected "
-                                 " legnth (type=%d, length=%d, expected=%d).\n",
+                                 " length (type=%d, length=%d, expected=%d).\n",
                                  type, nla_len(a), ovs_tunnel_key_lens[type]);
                        return -EINVAL;
                }
@@ -1389,7 +1389,7 @@ static int ovs_key_from_nlattrs(struct sw_flow_match *match,  u64 attrs,
                        /* Always exact match EtherType. */
                        eth_type = htons(0xffff);
                } else if (ntohs(eth_type) < ETH_P_802_3_MIN) {
-                       OVS_NLERR("EtherType is less than mimimum (type=%x, min=%x).\n",
+                       OVS_NLERR("EtherType is less than minimum (type=%x, min=%x).\n",
                                        ntohs(eth_type), ETH_P_802_3_MIN);
                        return -EINVAL;
                }