@@ -480,7 +480,6 @@ fn ipv6_properties() {
480
480
let unique_local: u16 = 1 << 2 ;
481
481
let global: u16 = 1 << 3 ;
482
482
let unicast_link_local: u16 = 1 << 4 ;
483
- let unicast_site_local: u16 = 1 << 6 ;
484
483
let unicast_global: u16 = 1 << 7 ;
485
484
let documentation: u16 = 1 << 8 ;
486
485
let multicast_interface_local: u16 = 1 << 9 ;
@@ -523,11 +522,6 @@ fn ipv6_properties() {
523
522
} else {
524
523
assert!( !ip!( $s) . is_unicast_link_local( ) ) ;
525
524
}
526
- if ( $mask & unicast_site_local) == unicast_site_local {
527
- assert!( ip!( $s) . is_unicast_site_local( ) ) ;
528
- } else {
529
- assert!( !ip!( $s) . is_unicast_site_local( ) ) ;
530
- }
531
525
if ( $mask & unicast_global) == unicast_global {
532
526
assert!( ip!( $s) . is_unicast_global( ) ) ;
533
527
} else {
@@ -581,7 +575,6 @@ fn ipv6_properties() {
581
575
let unique_local: u16 = 1 << 2 ;
582
576
let global: u16 = 1 << 3 ;
583
577
let unicast_link_local: u16 = 1 << 4 ;
584
- let unicast_site_local: u16 = 1 << 6 ;
585
578
let unicast_global: u16 = 1 << 7 ;
586
579
let documentation: u16 = 1 << 8 ;
587
580
let multicast_interface_local: u16 = 1 << 9 ;
@@ -651,7 +644,7 @@ fn ipv6_properties() {
651
644
check ! (
652
645
"fec0::" ,
653
646
& [ 0xfe , 0xc0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 ] ,
654
- unicast_site_local | unicast_global | global
647
+ unicast_global | global
655
648
) ;
656
649
657
650
check ! (
@@ -889,9 +882,6 @@ fn ipv6_const() {
889
882
const IS_UNICAST_LINK_LOCAL : bool = IP_ADDRESS . is_unicast_link_local ( ) ;
890
883
assert ! ( !IS_UNICAST_LINK_LOCAL ) ;
891
884
892
- const IS_UNICAST_SITE_LOCAL : bool = IP_ADDRESS . is_unicast_site_local ( ) ;
893
- assert ! ( !IS_UNICAST_SITE_LOCAL ) ;
894
-
895
885
const IS_DOCUMENTATION : bool = IP_ADDRESS . is_documentation ( ) ;
896
886
assert ! ( !IS_DOCUMENTATION ) ;
897
887
0 commit comments