chiark / gitweb /
adns_reverse_submit function for easy in-addr queries.
[adns.git] / client / adh-opts.c
index ac1ad6915b595f82c614609e63ece99a3d1be2f4..5b38dea77cef737480f6633e173752077baf9533 100644 (file)
@@ -65,7 +65,7 @@ static const struct optioninfo perquery_options[]= {
   { ot_funcarg,          "Query type (see below)",
     "t", "type",           0,0, &of_type, "type" },
   { ot_funcarg,          "Do reverse query (address -> name lookup)",
-    "i", "ptr",            0,0, &of_type, "addr" },
+    "i", "ptr",            0,0, &of_ptr, "addr" },
 
   { ot_desconly, "per-query binary options:" },
   { ot_flag,             "Use the search list",