aboutsummaryrefslogtreecommitdiff
path: root/src/udp.c
diff options
context:
space:
mode:
authorDiego Nehab <diego.nehab@gmail.com>2013-05-29 04:20:33 -0700
committerDiego Nehab <diego.nehab@gmail.com>2013-05-29 04:20:33 -0700
commit5341131cd07bf4f66ce242980b5f3cfbbf45ea12 (patch)
tree2a5db457e38cdf3de1f29df4d0217999c5cd306d /src/udp.c
parentb84a5f3d08b1dc9d1003506bbca53e11264e8693 (diff)
parent1de617e3550366076737e804f1e28891605db89c (diff)
downloadluasocket-5341131cd07bf4f66ce242980b5f3cfbbf45ea12.tar.gz
luasocket-5341131cd07bf4f66ce242980b5f3cfbbf45ea12.tar.bz2
luasocket-5341131cd07bf4f66ce242980b5f3cfbbf45ea12.zip
Merge pull request #43 from moteus/moteus-getopt-error
Add. Allow get `error` option to socket.
Diffstat (limited to 'src/udp.c')
-rw-r--r--src/udp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/udp.c b/src/udp.c
index ec805b6..5945dca 100644
--- a/src/udp.c
+++ b/src/udp.c
@@ -85,6 +85,7 @@ static t_opt optset[] = {
85static t_opt optget[] = { 85static t_opt optget[] = {
86 {"ip-multicast-if", opt_get_ip_multicast_if}, 86 {"ip-multicast-if", opt_get_ip_multicast_if},
87 {"ip-multicast-loop", opt_get_ip_multicast_loop}, 87 {"ip-multicast-loop", opt_get_ip_multicast_loop},
88 {"error", opt_get_error},
88 {NULL, NULL} 89 {NULL, NULL}
89}; 90};
90 91