lldpd-structs: Declare Boolean member as one bit, not two.
authorBen Pfaff <blp@nicira.com>
Mon, 23 Feb 2015 00:45:05 +0000 (16:45 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 4 Mar 2015 00:22:33 +0000 (16:22 -0800)
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/lldp/lldpd-structs.h

index c5e31bc..86df740 100644 (file)
@@ -90,7 +90,7 @@ struct lldpd_port {
     struct lldpd_frame   *p_lastframe; /* Frame received during last update */
     u_int8_t             p_protocol;   /* Protocol used to get this port */
     u_int8_t             p_hidden_in:1; /* Considered hidden for reception */
-    u_int8_t             p_hidden_out:2; /* Considered hidden for emission */
+    u_int8_t             p_hidden_out:1; /* Considered hidden for emission */
     /* Important: all fields that should be ignored to check if a port has
      * been changed should be before p_id_subtype. Check
      * `lldpd_reset_timer()`.