#! /usr/bin/patch -p0
# $Header: /global/src/etc/cl-manage-scripts/patches/RCS/P-ufw-igmp,v 1.1 2025/03/21 15:19:26 mas90 Exp $
# patch to allow ufw to use propti igmp
# patch-file matches = igmp
# patch-file distmatches = Ubuntu|Debian
# Process using /usr/bin/cl-patch-file unless matching the above
# https://bugs.launchpad.net/ufw/+bug/946322
--- /usr/lib/python3/dist-packages/ufw/common.py	2014-02-28 21:50:59.000000000 +0000
+++ /usr/lib/python3/dist-packages/ufw/common.py	2015-05-13 13:50:26.143305705 +0100
@@ -246,6 +246,7 @@
            protocol == "ipv6" or \
            protocol == "esp" or \
            protocol == "ah" or \
+           protocol == "igmp" or \
            protocol == "any":
             self.protocol = protocol
         else:
