debian: Fix confusion between dp0 and of0.
authorBen Pfaff <blp@nicira.com>
Fri, 13 Mar 2009 00:22:38 +0000 (17:22 -0700)
committerBen Pfaff <blp@nicira.com>
Fri, 13 Mar 2009 00:22:38 +0000 (17:22 -0700)
commitb20221c5003f2b4ed092ae492e39964f6a930bd5
treeccd7d12eca7ce85f79d507b253c60b4aa58d95e5
parent408cae9478ac7463772760257a77a173982eed00
debian: Fix confusion between dp0 and of0.

Earlier, 'nl:0' was changed to read 'dp0' in the Debian init script, but
this didn't take into account that this would also change the name of the
"local port" for the datapath from 'of0' to 'dp0'.

The "cleanest" fix would probably be to change all the instances of of0
to dp0, but this would also require changing the names of files in the
file system (e.g. /etc/openflow-switch/of0-cert.pem), so it's easier to
just change the dp0 instances to of0.  Thanks to Reid for suggesting this
simpler fix.

Fixes bug #1056.
debian/openflow-switch.init