chiark
/
gitweb
/
~ianmdlvl
/
adns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix parsing of SRVs
[adns.git]
/
client
/
adh-main.c
diff --git
a/client/adh-main.c
b/client/adh-main.c
index 88d876a7b1c214c0446301b78ff5856686ed3fed..7065d58ecd53bd2afd82a7497d52cb2ad95296a4 100644
(file)
--- a/
client/adh-main.c
+++ b/
client/adh-main.c
@@
-9,7
+9,7
@@
*
* It is part of adns, which is
* Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
*
* It is part of adns, which is
* Copyright (C) 1997-2000 Ian Jackson <ian@davenant.greenend.org.uk>
- * Copyright (C) 1999 Tony Finch <dot@dotat.at>
+ * Copyright (C) 1999
-2000
Tony Finch <dot@dotat.at>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@
-90,6
+90,7
@@
void of_type(const struct optioninfo *oi, const char *arg, const char *arg2) {
{ adns_r_ptr, "ptr" },
{ adns_r_mx, "mx" },
{ adns_r_rp, "rp" },
{ adns_r_ptr, "ptr" },
{ adns_r_mx, "mx" },
{ adns_r_rp, "rp" },
+ { adns_r_srv, "srv" },
{ adns_r_addr, "addr" },
/* types with only one version */
{ adns_r_addr, "addr" },
/* types with only one version */
@@
-104,6
+105,7
@@
void of_type(const struct optioninfo *oi, const char *arg, const char *arg2) {
{ adns_r_ptr_raw, "ptr-" },
{ adns_r_mx_raw, "mx-" },
{ adns_r_rp_raw, "rp-" },
{ adns_r_ptr_raw, "ptr-" },
{ adns_r_mx_raw, "mx-" },
{ adns_r_rp_raw, "rp-" },
+ { adns_r_srv_raw, "srv-" },
{ adns_r_none, 0 }
};
{ adns_r_none, 0 }
};