summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorZackery Spytz <zspytz@gmail.com>2020-04-09 12:03:49 (GMT)
committerGitHub <noreply@github.com>2020-04-09 12:03:49 (GMT)
commit97e0de04b8cd44474e452a028761e34407192041 (patch)
treec9041db6144355b0e2c1573a21dae089a6b4e4c6 /Modules
parentb54a99d6432de93de85be2b42a63774f8b4581a0 (diff)
downloadcpython-97e0de04b8cd44474e452a028761e34407192041.zip
cpython-97e0de04b8cd44474e452a028761e34407192041.tar.gz
cpython-97e0de04b8cd44474e452a028761e34407192041.tar.bz2
bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module (GH-19190)
Co-Authored-By: Stefan Tatschner <stefan@rumpelsepp.org>
Diffstat (limited to 'Modules')
-rw-r--r--Modules/socketmodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index b5c241e..722c06e 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -7702,6 +7702,9 @@ PyInit__socket(void)
#ifdef HAVE_LINUX_CAN_RAW_FD_FRAMES
PyModule_AddIntMacro(m, CAN_RAW_FD_FRAMES);
#endif
+#ifdef HAVE_LINUX_CAN_RAW_JOIN_FILTERS
+ PyModule_AddIntMacro(m, CAN_RAW_JOIN_FILTERS);
+#endif
#ifdef HAVE_LINUX_CAN_BCM_H
PyModule_AddIntMacro(m, CAN_BCM);