mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
test: add space between arguments
This commit is contained in:
parent
ca782b85fc
commit
72dce85a60
@ -365,7 +365,7 @@ static void try_isolate_network(void) {
|
||||
/* Bring up the loopback interfaceon the newly created network namespace */
|
||||
struct ifreq req = { .ifr_ifindex = 1 };
|
||||
assert_se((socket_fd = socket(AF_INET, SOCK_STREAM | SOCK_CLOEXEC, 0)) >= 0);
|
||||
assert_se(ioctl(socket_fd,SIOCGIFNAME,&req) >= 0);
|
||||
assert_se(ioctl(socket_fd, SIOCGIFNAME, &req) >= 0);
|
||||
assert_se(ioctl(socket_fd, SIOCGIFFLAGS, &req) >= 0);
|
||||
assert_se(FLAGS_SET(req.ifr_flags, IFF_LOOPBACK));
|
||||
req.ifr_flags |= IFF_UP;
|
||||
|
Loading…
Reference in New Issue
Block a user