[VSTAT]added printing of more port states
[mirror/winof/.git] / tools / vstat / user / vstat_main.c
index b6662da..7a95f66 100644 (file)
@@ -104,9 +104,15 @@ void printPortLinkState(int portState){ //TODO: check that these are all the opt
                case 2:\r
                        printf("\t\tport_state=PORT_INITIALIZE (%d)\n",portState);\r
                        break;\r
+               case 3:\r
+                       printf("\t\tport_state=PORT_ARMED (%d)\n",portState);\r
+                       break;\r
                case 4:\r
                        printf("\t\tport_state=PORT_ACTIVE (%d)\n",portState);\r
                        break;\r
+               case 5:\r
+                       printf("\t\tport_state=PORT_ACTDEFER (%d)\n",portState);\r
+                       break;\r
                default:\r
                        printf("\t\tport_state=UNKNOWN (%d)\n",portState); \r
        }\r