summaryrefslogtreecommitdiff
path: root/src/unix
diff options
context:
space:
mode:
authorAndrew Balmos <andrew@balmos.org>2022-03-03 15:36:32 -0500
committerGitHub <noreply@github.com>2022-03-03 15:36:32 -0500
commit02042f05c27ffa9217491688dbd2f429889b7586 (patch)
tree778ce9f8558f77980512e6df533517ca5d641aba /src/unix
parentd590b80766a8310c9e50cafdf7c4cf7c0e745623 (diff)
downloadrust-libc-02042f05c27ffa9217491688dbd2f429889b7586.tar.gz
Update src/unix/linux_like/linux/mod.rs
Co-authored-by: Amanieu d'Antras <amanieu@gmail.com>
Diffstat (limited to 'src/unix')
-rw-r--r--src/unix/linux_like/linux/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs
index 3aa79366a7..bbc76f5daa 100644
--- a/src/unix/linux_like/linux/mod.rs
+++ b/src/unix/linux_like/linux/mod.rs
@@ -3205,7 +3205,7 @@ pub const SOL_CAN_J1939: ::c_int = SOL_CAN_BASE + CAN_J1939;
pub const J1939_MAX_UNICAST_ADDR: ::c_uchar = 0xfd;
pub const J1939_IDLE_ADDR: ::c_uchar = 0xfe;
-pub const J1939_NO_ADDR: ::c_uchar = 0;
+pub const J1939_NO_ADDR: ::c_uchar = 0xff;
pub const J1939_NO_NAME: ::c_ulong = 0;
pub const J1939_PGN_REQUEST: ::c_uint = 0x0ea00;
pub const J1939_PGN_ADDRESS_CLAIMED: ::c_uint = 0x0ee00;