]> xenbits.xensource.com Git - unikraft/libs/lwip.git/commit
Remove redundant argument from POSIX_SOCKET_FAMILY_REGISTER macro RELEASE-0.10.0
authorMaria Sfiraiala <maria.sfiraiala@gmail.com>
Sun, 21 Aug 2022 13:54:02 +0000 (16:54 +0300)
committerUnikraft <monkey@unikraft.io>
Mon, 22 Aug 2022 08:58:45 +0000 (08:58 +0000)
commit555f4e24a5ac3997da9e4ae31da4ce31ad9c95fe
treeb8c7700c5623f8943559556f0342c87e00f1ab43
parent89003dec6c2031f2327a4c6d6a0f396f499dcad1
Remove redundant argument from POSIX_SOCKET_FAMILY_REGISTER macro

In the `POSIX_SOCKET_FAMILY_REGISTER` macro, when the IPv6 option is
selected, the third argument produces a compilation error.

Due to the macro being defined in
`unikraft/lib/posix-socket/include/uk/socket_driver.h` with only 2
arguments, the third argument becomes redundant.

This commit removes it and ensures that the `AF_INET6` is successfully
registered.

Signed-off-by: Maria Sfiraiala <maria.sfiraiala@gmail.com>
Reviewed-by: Razvan Deaconescu <razvan.deaconescu@cs.pub.ro>
Approved-by: Marc Rittinghaus <marc.rittinghaus@kit.edu>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Pull-Request: #18
sockets.c