File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -878,11 +878,13 @@ fn protocol() {
878
878
let socket = Socket :: new ( Domain :: UNIX , Type :: STREAM , None ) . unwrap ( ) ;
879
879
assert_eq ! ( socket. protocol( ) . unwrap( ) , None ) ;
880
880
881
+ /* Don't have permission for this on CI.
881
882
let socket = Socket::new(Domain::IPV4, Type::DGRAM, Some(Protocol::ICMPV4)).unwrap();
882
883
assert_eq!(socket.protocol().unwrap(), Some(Protocol::ICMPV4));
883
884
884
885
let socket = Socket::new(Domain::IPV6, Type::DGRAM, Some(Protocol::ICMPV6)).unwrap();
885
886
assert_eq!(socket.protocol().unwrap(), Some(Protocol::ICMPV6));
887
+ */
886
888
887
889
let socket = Socket :: new ( Domain :: IPV4 , Type :: STREAM , Some ( Protocol :: TCP ) ) . unwrap ( ) ;
888
890
assert_eq ! ( socket. protocol( ) . unwrap( ) , Some ( Protocol :: TCP ) ) ;
You can’t perform that action at this time.
0 commit comments