@@ -480,7 +480,6 @@ fn ipv6_properties() {
480480 let unique_local: u16 = 1 << 2 ;
481481 let global: u16 = 1 << 3 ;
482482 let unicast_link_local: u16 = 1 << 4 ;
483- let unicast_site_local: u16 = 1 << 6 ;
484483 let unicast_global: u16 = 1 << 7 ;
485484 let documentation: u16 = 1 << 8 ;
486485 let multicast_interface_local: u16 = 1 << 9 ;
@@ -523,11 +522,6 @@ fn ipv6_properties() {
523522 } else {
524523 assert!( !ip!( $s) . is_unicast_link_local( ) ) ;
525524 }
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- }
531525 if ( $mask & unicast_global) == unicast_global {
532526 assert!( ip!( $s) . is_unicast_global( ) ) ;
533527 } else {
@@ -581,7 +575,6 @@ fn ipv6_properties() {
581575 let unique_local: u16 = 1 << 2 ;
582576 let global: u16 = 1 << 3 ;
583577 let unicast_link_local: u16 = 1 << 4 ;
584- let unicast_site_local: u16 = 1 << 6 ;
585578 let unicast_global: u16 = 1 << 7 ;
586579 let documentation: u16 = 1 << 8 ;
587580 let multicast_interface_local: u16 = 1 << 9 ;
@@ -651,7 +644,7 @@ fn ipv6_properties() {
651644 check ! (
652645 "fec0::" ,
653646 & [ 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
655648 ) ;
656649
657650 check ! (
@@ -889,9 +882,6 @@ fn ipv6_const() {
889882 const IS_UNICAST_LINK_LOCAL : bool = IP_ADDRESS . is_unicast_link_local ( ) ;
890883 assert ! ( !IS_UNICAST_LINK_LOCAL ) ;
891884
892- const IS_UNICAST_SITE_LOCAL : bool = IP_ADDRESS . is_unicast_site_local ( ) ;
893- assert ! ( !IS_UNICAST_SITE_LOCAL ) ;
894-
895885 const IS_DOCUMENTATION : bool = IP_ADDRESS . is_documentation ( ) ;
896886 assert ! ( !IS_DOCUMENTATION ) ;
897887
0 commit comments