diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-29 00:32:20 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2009-09-29 00:32:20 -0700 |
commit | 3d55f9b61ba23234c5355ed725963fdc0e520d45 (patch) | |
tree | 48fdd656b46c1f3aed70c6bc41b7fbef50581f26 /table11.c | |
parent | 8f5292aad3a0dcbc219d76d63ea915f49d403bbc (diff) |
Decode ServerInterpreted addresses in HOST structures
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
Diffstat (limited to 'table11.c')
-rw-r--r-- | table11.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -641,6 +641,7 @@ InitEnumeratedTypes (void) DefineEValue(p, 0L, "Internet"); DefineEValue(p, 1L, "DECnet"); DefineEValue(p, 2L, "Chaos"); + DefineEValue(p, 5L, "ServerInterpreted"); DefineEValue(p, 6L, "InternetV6"); DefineEValue(p, 252L, "LocalHost"); DefineEValue(p, 253L, "Kerberos5"); @@ -1062,6 +1063,15 @@ PrintHOST ( } #endif + case 5: /* ServerInterpreted */ + { + int i; + for (i = 0 ; buf[i + 4] != 0 ; i++) { /* empty loop */ } + PrintString8(&buf[4], i, "type"); + PrintString8(&buf[i+5], n - i - 1, "value"); + break; + } + case 254: PrintString8(&buf[4], n, "address"); break; |