tweak Lua script argument passing and add --dhcp-luascript sectino to manpage.

This commit is contained in:
Simon Kelley committed 2012-02-16 20:00:32 +00:00
1 parent 6caacacf6d
commit 57f460de2f
3 files changed
+42 -5

No files matched your search

+1 -1
View File
@@ -2096,7 +2096,7 @@ static void do_options(struct dhcp_context *context,
/* filter options based on tags, those we want get DHOPT_TAGOK bit set */
context->netid.next = NULL;
tagif = option_filter(netid, context->netid.net ? &context->netid : NULL, config_opts);
tagif = option_filter(netid, context && context->netid.net ? &context->netid : NULL, config_opts);
/* logging */
if (option_bool(OPT_LOG_OPTS) && req_options)