]> granicus.if.org Git - pdns/commitdiff
lua: DNSQuestion, actually export deviceName and deviceId attributes
authorCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Mon, 1 Jul 2019 07:50:46 +0000 (09:50 +0200)
committerCharles-Henri Bruyand <charles-henri.bruyand@open-xchange.com>
Mon, 1 Jul 2019 07:50:46 +0000 (09:50 +0200)
pdns/lua-recursor4.cc

index 98b38c8bfb528e0f123bd1966a7c5a2dd1562f17..7c96133f5369095864caedaec7e220c41f5bf081 100644 (file)
@@ -266,6 +266,8 @@ void RecursorLua4::postPrepareContext()
   d_lw->registerMember("rcode", &DNSQuestion::rcode);
   d_lw->registerMember("tag", &DNSQuestion::tag);
   d_lw->registerMember("requestorId", &DNSQuestion::requestorId);
+  d_lw->registerMember("deviceId", &DNSQuestion::deviceId);
+  d_lw->registerMember("deviceName", &DNSQuestion::deviceName);
   d_lw->registerMember("followupFunction", &DNSQuestion::followupFunction);
   d_lw->registerMember("followupPrefix", &DNSQuestion::followupPrefix);
   d_lw->registerMember("followupName", &DNSQuestion::followupName);