diff --git a/setools/policyrep/libpolicyrep.pyx b/setools/policyrep/libpolicyrep.pyx index 6d885c0..91455f8 100644 --- a/setools/policyrep/libpolicyrep.pyx +++ b/setools/policyrep/libpolicyrep.pyx @@ -54,6 +54,7 @@ cdef extern from "": cdef extern from "": cdef int INET6_ADDRSTRLEN cdef int IPPROTO_DCCP + cdef int IPPROTO_SCTP cdef int IPPROTO_TCP cdef int IPPROTO_UDP diff --git a/setools/policyrep/netcontext.pxi b/setools/policyrep/netcontext.pxi index bc01c25..07b9552 100644 --- a/setools/policyrep/netcontext.pxi +++ b/setools/policyrep/netcontext.pxi @@ -186,6 +186,7 @@ class PortconProtocol(PolicyEnum): tcp = IPPROTO_TCP udp = IPPROTO_UDP dccp = IPPROTO_DCCP + sctp = IPPROTO_SCTP cdef class Portcon(Ocontext):