mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
net/cmsg_sender: Remove a semicolon
Remove the repeated ';' from code. Signed-off-by: Li kunyu <kunyu@nfschina.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c7b1267b1c
commit
dbdd9a28e1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue