mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
devip: fix isula()
ULA prefix is 0xfc00::/7 not 0xfd00::/8.
This commit is contained in:
parent
207cd2812f
commit
fc6cc079fe
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
|||
*/
|
||||
#define isv6mcast(addr) ((addr)[0] == 0xff)
|
||||
#define islinklocal(addr) ((addr)[0] == 0xfe && ((addr)[1] & 0xc0) == 0x80)
|
||||
#define isula(addr) ((addr)[0] == 0xfd)
|
||||
#define isula(addr) (((addr)[0] & 0xfe) == 0xfc)
|
||||
|
||||
#define optexsts(np) (nhgets((np)->ploadlen) > 24)
|
||||
#define issmcast(addr) (memcmp((addr), v6solicitednode, 13) == 0)
|
||||
|
|
Loading…
Reference in a new issue