mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-14 18:14:48 +00:00
semanage node -a bug
This patch fixes a bug that causes semanage node -a to not work (failing with a python traceback). You can test the bug with any semanage node -a command, such as: semanage node -a -t node_t -p ipv4 -M 255.255.255.0 192.168.1.0 Signed-off-by: Chad Sellers <csellers@tresys.com>
This commit is contained in:
parent
88a57ca14b
commit
32ae03e8a7
@ -1038,7 +1038,7 @@ class nodeRecords(semanageRecords):
|
||||
|
||||
def add(self, addr, mask, proto, serange, ctype):
|
||||
self.begin()
|
||||
self.__add(self, addr, mask, proto, serange, ctype)
|
||||
self.__add(addr, mask, proto, serange, ctype)
|
||||
self.commit()
|
||||
|
||||
def __modify(self, addr, mask, proto, serange, setype):
|
||||
|
Loading…
Reference in New Issue
Block a user