]> git.ipfire.org Git - people/ms/mstpd.git/commitdiff
Trivial changes in comments for txMstp():
authordv1tas <dv1tas@fbe50366-0c72-4402-a84b-5d246361dba7>
Wed, 3 Jul 2013 13:14:40 +0000 (13:14 +0000)
committerdv1tas <dv1tas@fbe50366-0c72-4402-a84b-5d246361dba7>
Wed, 3 Jul 2013 13:14:40 +0000 (13:14 +0000)
 - Added reference to the 802.1Q-2011
 - Removed stray ", role" which actually should be removed in previous commit [r56]

git-svn-id: svn://svn.code.sf.net/p/mstpd/code/trunk@57 fbe50366-0c72-4402-a84b-5d246361dba7

mstp.c

diff --git a/mstp.c b/mstp.c
index 9ba673103c044b99fdc58c0ddd11966ac9ab7aaa..3b3feea35c03405d40b6635e1493793c7ce40cb9 100644 (file)
--- a/mstp.c
+++ b/mstp.c
@@ -2338,7 +2338,9 @@ static inline __u8 message_role_from_port_role(per_tree_port_t *ptp)
     }
 }
 
-/* 13.26.20 txMstp */
+/* 802.1Q-2005: 13.26.20 txMstp
+ * 802.1Q-2011: 13.27.27 txRstp
+ */
 static void txMstp(port_t *prt)
 {
     bpdu_t b;
@@ -2355,7 +2357,7 @@ static void txMstp(port_t *prt)
     b.bpduType = bpduTypeRST;
     /* Standard says "{tcWhile, agree, proposing} ... for the Port".
      * Which one {tcWhile, agree, proposing}?
-     * I guess that this means {tcWhile, agree, proposing, role} for the CIST.
+     * I guess that this means {tcWhile, agree, proposing} for the CIST.
      * But that is only a guess and I could be wrong here ;)
      */
     b.flags = BPDU_FLAGS_ROLE_SET(message_role_from_port_role(cist));