diff --git a/src/net/types.rs b/src/net/types.rs
index 80d4bc854..f41fa1fd8 100644
--- a/src/net/types.rs
+++ b/src/net/types.rs
@@ -1442,7 +1442,7 @@ pub enum Shutdown {
     /// `SHUT_WR`—Disable further write operations.
     Write = c::SHUT_WR as _,
     /// `SHUT_RDWR`—Disable further read and write operations.
-    ReadWrite = c::SHUT_RDWR as _,
+    Both = c::SHUT_RDWR as _,
 }
 
 bitflags! {