]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
icmp6: drop unnecessary assertion 20488/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Aug 2021 23:44:27 +0000 (08:44 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 19 Aug 2021 23:44:31 +0000 (08:44 +0900)
Follow-up for 3691bcf3c5eebdcca5b4f1c51c745441c57a6cd1.

src/libsystemd-network/icmp6-util.c

index 67c6b55d84164fa60caf7fb8b35b2c6d34343622..0b8c3e4cc3d71cf6e1bfcb8001b709d2a60d4732 100644 (file)
@@ -186,7 +186,6 @@ int icmp6_receive(int fd, void *buffer, size_t size, struct in6_addr *ret_dst,
 
         /* namelen == 0 only happens when running the test-suite over a socketpair */
 
-        assert(!(msg.msg_flags & MSG_CTRUNC));
         assert(!(msg.msg_flags & MSG_TRUNC));
 
         CMSG_FOREACH(cmsg, &msg) {