mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
935 B

  1. diff -ruN dhcp-3.0.2rc2/includes/dhcpd.h dhcp-3.0.2rc2-new/includes/dhcpd.h
  2. --- dhcp-3.0.2rc2/includes/dhcpd.h 2004-10-01 20:43:21.000000000 +0200
  3. +++ dhcp-3.0.2rc2-new/includes/dhcpd.h 2004-11-17 20:15:59.414035328 +0100
  4. @@ -263,7 +263,7 @@
  5. FTS_ABANDONED = 5,
  6. FTS_RESET = 6,
  7. FTS_BACKUP = 7
  8. -} binding_state_t;
  9. +} __attribute__((packed)) binding_state_t;
  10. /* FTS_LAST is the highest value that is valid for a lease binding state. */
  11. #define FTS_LAST FTS_BACKUP
  12. @@ -306,9 +306,9 @@
  13. # define EPHEMERAL_FLAGS (MS_NULL_TERMINATION | \
  14. UNICAST_BROADCAST_HACK)
  15. - binding_state_t __attribute__ ((mode (__byte__))) binding_state;
  16. - binding_state_t __attribute__ ((mode (__byte__))) next_binding_state;
  17. - binding_state_t __attribute__ ((mode (__byte__))) desired_binding_state;
  18. + binding_state_t binding_state;
  19. + binding_state_t next_binding_state;
  20. + binding_state_t desired_binding_state;
  21. struct lease_state *state;