Parcourir la source

[ipv6] Fix compilation under FreeBSD

Reported-by: Dewey Hylton <dewey@hyltown.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown il y a 10 ans
Parent
révision
2200ca0e8f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      src/include/ipxe/ndp.h

+ 1
- 1
src/include/ipxe/ndp.h Voir le fichier

@@ -24,7 +24,7 @@ struct ndp_option_header {
24 24
 } __attribute__ (( packed ));
25 25
 
26 26
 /** NDP option block size */
27
-#define NDP_OPTION_BLKSZ 8
27
+#define NDP_OPTION_BLKSZ 8U
28 28
 
29 29
 /** NDP source link-layer address option */
30 30
 #define NDP_OPT_LL_SOURCE 1

Chargement…
Annuler
Enregistrer