]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
lib: fix enumeration
authorWataru Ashihara <wsh@iij.ad.jp>
Tue, 6 Feb 2018 12:09:40 +0000 (21:09 +0900)
committerVincent Bernat <vincent@bernat.ch>
Wed, 4 Sep 2019 04:57:58 +0000 (06:57 +0200)
src/lib/atom.h

index 265c0a79c9a69f16e5cdc7c697285156afe143d9..aa6ed65dd2f732f3cac430d0f18fdd1aeed94120 100644 (file)
@@ -47,13 +47,13 @@ struct lldpctl_conn_t {
 #define CONN_STATE_SET_WATCH_SEND      7
 #define CONN_STATE_SET_WATCH_RECV      8
 #define CONN_STATE_GET_CONFIG_SEND     9
-#define CONN_STATE_GET_CONFIG_RECV     9
-#define CONN_STATE_SET_CONFIG_SEND     10
-#define CONN_STATE_SET_CONFIG_RECV     11
-#define CONN_STATE_GET_CHASSIS_SEND    12
-#define CONN_STATE_GET_CHASSIS_RECV    13
-#define CONN_STATE_GET_DEFAULT_PORT_SEND 14
-#define CONN_STATE_GET_DEFAULT_PORT_RECV 15
+#define CONN_STATE_GET_CONFIG_RECV     10
+#define CONN_STATE_SET_CONFIG_SEND     11
+#define CONN_STATE_SET_CONFIG_RECV     12
+#define CONN_STATE_GET_CHASSIS_SEND    13
+#define CONN_STATE_GET_CHASSIS_RECV    14
+#define CONN_STATE_GET_DEFAULT_PORT_SEND 15
+#define CONN_STATE_GET_DEFAULT_PORT_RECV 16
        int state;              /* Current state */
        char *state_data;       /* Data attached to the state. It is used to
                                 * check that we are using the same data as a