mirror of
https://github.com/nadoo/glider.git
synced 2026-11-19 07:09:42 +08:00
ws: support set a different host header #157
This commit is contained in:
1 parent
666c76f921
commit
855907c46b
5 files changed
+55
-49
No files matched your search
+1
-1
@@ -288,7 +288,7 @@ func (c *Client) GenResponse(domain string, ip string) (*Message, error) {
|
||||
}
|
||||
|
||||
func getKey(q *Question) string {
|
||||
qtype := ""
|
||||
var qtype string
|
||||
switch q.QTYPE {
|
||||
case QTypeA:
|
||||
qtype = "A"
|
||||
|
||||
Reference in new issue
Block a user