Added missing options for UDP getoption.
Documentation says "dontroute", "broadcast", "reuseaddr", and "reuseport" are supported as arguments to getoption, however their implementations were missing.
This commit is contained in:
parent
321c0c9b1f
commit
67abaf89eb
3 changed files with 16 additions and 1 deletions
|
@ -89,6 +89,10 @@ static t_opt optset[] = {
|
|||
|
||||
/* socket options for getoption */
|
||||
static t_opt optget[] = {
|
||||
{"dontroute", opt_get_dontroute},
|
||||
{"broadcast", opt_get_broadcast},
|
||||
{"reuseaddr", opt_get_reuseaddr},
|
||||
{"reuseport", opt_get_reuseport},
|
||||
{"ip-multicast-if", opt_get_ip_multicast_if},
|
||||
{"ip-multicast-loop", opt_get_ip_multicast_loop},
|
||||
{"error", opt_get_error},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue