semanage: swap tcp and udp protocol numbers

The tcp/udp protocol numbers were accidentaly swapped in
the original patch 'semanage: add auditing of changes in records'.

Signed-off-by: Miroslav Vadkerti <mvadkert@redhat.com>
This commit is contained in:
Miroslav Vadkerti 2016-08-10 10:39:10 +02:00 committed by James Carter
parent 50d8a181e8
commit 0b6f56e623

View File

@ -88,8 +88,8 @@ file_type_str_to_option = {"all files": "a",
"symbolic link": "l",
"named pipe": "p"}
proto_to_audit = {"tcp": 17,
"udp": 6,
proto_to_audit = {"tcp": 6,
"udp": 17,
"ipv4": 4,
"ipv6": 41}