]> git.proxmox.com Git - mirror_ovs.git/commit - lib/rstp.c
lib/rstp: Refactor port initialization.
authorJarno Rajahalme <jrajahalme@nicira.com>
Fri, 22 Aug 2014 16:01:35 +0000 (09:01 -0700)
committerJarno Rajahalme <jrajahalme@nicira.com>
Tue, 9 Sep 2014 18:45:44 +0000 (11:45 -0700)
commit54d3863b8522268f2d8d88f1f075eb3766c77aa8
tree251f400b33580a375f15f0cafbd2f0f80771f5ca
parent801171c171985ba507c4af95cc814a0dc17ee571
lib/rstp: Refactor port initialization.

Prior to this patch the default values for ports were set in three
different places.  This refactors them all to one helper function.

Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com>
Acked-by: Daniele Venturino <daniele.venturino@m3s.it>
lib/rstp.c
ofproto/ofproto-dpif.c