mirror of
https://github.com/checkpoint-restore/criu.git
synced 2026-07-17 16:47:50 +00:00
kerndat: run iptables with -n to not resolve service names
Resolving service names can be slow and it isn't needed here. Fixes #2032 Signed-off-by: Andrei Vagin <avagin@google.com>
This commit is contained in:
parent
528c94c48b
commit
b7fa7d304c
1 changed files with 1 additions and 1 deletions
|
|
@ -646,7 +646,7 @@ static int kerndat_loginuid(void)
|
|||
static int kerndat_iptables_has_xtlocks(void)
|
||||
{
|
||||
int fd;
|
||||
char *argv[4] = { "sh", "-c", "iptables -w -L", NULL };
|
||||
char *argv[4] = { "sh", "-c", "iptables -n -w -L", NULL };
|
||||
|
||||
fd = open("/dev/null", O_RDWR);
|
||||
if (fd < 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue