update
This commit is contained in:
+2
-1
@@ -313,7 +313,7 @@ int handle_event(void *ctx, void *data, size_t data_sz){
|
||||
if (type == 5) { // -> CNAME
|
||||
char cname[size];
|
||||
get_labels(s_event->buf + pos, cname);
|
||||
printf("%s ", cname);
|
||||
printf("%s %d ", cname, ttl);
|
||||
}
|
||||
if (type == 28){ // -> AAAA
|
||||
int p = 0;
|
||||
@@ -327,6 +327,7 @@ int handle_event(void *ctx, void *data, size_t data_sz){
|
||||
printf("%x", s_event->buf[pos + p++]);
|
||||
}
|
||||
}
|
||||
printf(" %d ", ttl);
|
||||
}
|
||||
pos += size;
|
||||
printf("\n");
|
||||
|
||||
Binary file not shown.
-149985
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user