Home | History | Annotate | Line # | Download | only in dist
      1  1.1  christos /*
      2  1.1  christos  * Redistribution and use in source and binary forms, with or without
      3  1.1  christos  * modification, are permitted provided that: (1) source code
      4  1.1  christos  * distributions retain the above copyright notice and this paragraph
      5  1.1  christos  * in its entirety, and (2) distributions including binary code include
      6  1.1  christos  * the above copyright notice and this paragraph in its entirety in
      7  1.1  christos  * the documentation or other materials provided with the distribution.
      8  1.1  christos  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND
      9  1.1  christos  * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT
     10  1.1  christos  * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
     11  1.1  christos  * FOR A PARTICULAR PURPOSE.
     12  1.1  christos  */
     13  1.1  christos 
     14  1.1  christos /* \summary: WHOIS Protocol printer */
     15  1.1  christos 
     16  1.1  christos /* RFC 3912 */
     17  1.1  christos 
     18  1.1  christos #include <config.h>
     19  1.1  christos 
     20  1.1  christos #include "netdissect-stdinc.h"
     21  1.1  christos 
     22  1.1  christos #include "netdissect.h"
     23  1.1  christos 
     24  1.1  christos void
     25  1.1  christos whois_print(netdissect_options *ndo, const u_char *pptr, u_int len)
     26  1.1  christos {
     27  1.1  christos 	ndo->ndo_protocol = "whois";
     28  1.1  christos 	txtproto_print(ndo, pptr, len, NULL, 0);
     29  1.1  christos }
     30