vswitch: Disallow bridges named "dpN" or "nl:N".
authorBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 20:43:47 +0000 (13:43 -0700)
committerBen Pfaff <blp@nicira.com>
Wed, 11 Mar 2009 20:43:47 +0000 (13:43 -0700)
commitf4b96c92c1dcc9cc7269b839a8e5d9f4f8976d37
tree12f47fb3295117a2f9d4fb18c4d7ed9c488b5cb4
parent1317f711bd901205be34a85b2dc2ddac53e8da7b
vswitch: Disallow bridges named "dpN" or "nl:N".

Natasha discovered that naming a datapath numerically, e.g.
"bridge.dp0.port = <device>", provokes an error.  The easiest fix is to
just disallow this.

Fixes bug #1030.
vswitchd/bridge.c
vswitchd/vswitchd.conf.5