diff options
author | Jesse Gross <jesse@nicira.com> | 2010-02-08 15:48:54 -0500 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2010-02-08 15:48:54 -0500 |
commit | 0c9953afc3b5b9f796e3fd3e3d18203f0a8cdbff (patch) | |
tree | f2d6fe2c49a6b637e408ed06d4d4e6875e67afec /datapath/dp_dev.c | |
parent | 70150daf2fd88a84f80044a9589e97942b85c25b (diff) |
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.
Diffstat (limited to 'datapath/dp_dev.c')
-rw-r--r-- | datapath/dp_dev.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/datapath/dp_dev.c b/datapath/dp_dev.c index 5b434c1f..2bbd6fec 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, |