Commit dbdd9a28 authored by Li kunyu's avatar Li kunyu Committed by David S. Miller

net/cmsg_sender: Remove a semicolon

Remove the repeated ';' from code.
Signed-off-by: default avatarLi kunyu <kunyu@nfschina.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c7b1267b
......@@ -456,7 +456,7 @@ int main(int argc, char *argv[])
buf[1] = 0;
} else if (opt.sock.type == SOCK_RAW) {
struct udphdr hdr = { 1, 2, htons(opt.size), 0 };
struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;;
struct sockaddr_in6 *sin6 = (void *)ai->ai_addr;
memcpy(buf, &hdr, sizeof(hdr));
sin6->sin6_port = htons(opt.sock.proto);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment