summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/in.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/ipxe/in.h b/src/include/ipxe/in.h
index 36032470c..de96ca22a 100644
--- a/src/include/ipxe/in.h
+++ b/src/include/ipxe/in.h
@@ -61,7 +61,7 @@ struct in6_addr {
#define IN6_IS_ADDR_LINKLOCAL( addr ) \
( ( *( ( const uint16_t * ) (addr) ) & htons ( 0xffc0 ) ) == \
- htonl ( 0xfe80 ) )
+ htons ( 0xfe80 ) )
/**
* IPv4 socket address