diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-09-21 16:32:41 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-21 16:34:44 -0700 |
commit | 059d90b9f1c52e6aed259ba7ac4847de297273c6 (patch) | |
tree | 5a15df65525b3d754cac56992a8ff29ef465ba9e /test | |
parent | 73f3a34b524ec8a6cd3e579090642178b7b83807 (diff) |
Receive ACK when deleting address in syscall tests
PiperOrigin-RevId: 332961666
Diffstat (limited to 'test')
-rw-r--r-- | test/syscalls/linux/socket_netlink_route_util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/syscalls/linux/socket_netlink_route_util.cc b/test/syscalls/linux/socket_netlink_route_util.cc index a354f3f80..7a0bad4cb 100644 --- a/test/syscalls/linux/socket_netlink_route_util.cc +++ b/test/syscalls/linux/socket_netlink_route_util.cc @@ -42,7 +42,7 @@ PosixError PopulateNlmsghdr(LinkAddrModification modification, return NoError(); case LinkAddrModification::kDelete: hdr->nlmsg_type = RTM_DELADDR; - hdr->nlmsg_flags = NLM_F_REQUEST; + hdr->nlmsg_flags = NLM_F_REQUEST | NLM_F_ACK; return NoError(); } |