stp: Turn off STP on ports that are disabled or have no link.
authorBen Pfaff <blp@nicira.com>
Tue, 23 Sep 2008 18:24:30 +0000 (11:24 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 23 Sep 2008 18:24:53 +0000 (11:24 -0700)
commit6a774239db02dc82fd2601f146025826a5a93487
treea4b9b79e7039f9e6c7f6c54a6c0015bcc843db7e
parenta52b6f66fd57dbc592db74f4347a2d2443ef2e75
stp: Turn off STP on ports that are disabled or have no link.

Fixes a problem that a port that is disabled via "ifconfig down" does
not come back up properly when it is brought back up again with "ifconfig
up", if STP is enabled.
secchan/secchan.c