From: Jesse Gross Date: Mon, 8 Feb 2010 20:48:54 +0000 (-0500) Subject: datapath: Set Nicira random address in the datapath. X-Git-Tag: v1.0.0~259^2~179 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=0c9953afc3b5b9f796e3fd3e3d18203f0a8cdbff;p=sliver-openvswitch.git datapath: Set Nicira random address in the datapath. OVS now sets the Nicira OUI plus the top bit on packets that it generates to indicate a random address. This makes the datapath do the same thing. --- diff --git a/datapath/dp_dev.c b/datapath/dp_dev.c index 5b434c1f9..2bbd6fecf 100644 --- a/datapath/dp_dev.c +++ b/datapath/dp_dev.c @@ -214,8 +214,8 @@ do_setup(struct net_device *netdev) netdev->dev_addr[1] = 0x23; netdev->dev_addr[2] = 0x20; - /* Set the top bits to indicate random Nicira address. */ - netdev->dev_addr[3] |= 0xc0; + /* Set the top bit to indicate random Nicira address. */ + netdev->dev_addr[3] |= 0x80; } /* Create a datapath device associated with 'dp'. If 'dp_name' is null,