118334Speter/* 290075Sobrien * Redistribution and use in source and binary forms, with or without 3169689Skan * modification, are permitted provided that: (1) source code 4169689Skan * distributions retain the above copyright notice and this paragraph 518334Speter * in its entirety, and (2) distributions including binary code include 690075Sobrien * the above copyright notice and this paragraph in its entirety in 718334Speter * the documentation or other materials provided with the distribution. 890075Sobrien * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 990075Sobrien * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 1090075Sobrien * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 1190075Sobrien * FOR A PARTICULAR PURPOSE. 1218334Speter */ 1390075Sobrien 1490075Sobrien/* \summary: WHOIS Protocol printer */ 1590075Sobrien 1690075Sobrien/* RFC 3912 */ 1718334Speter 1818334Speter#ifdef HAVE_CONFIG_H 1990075Sobrien#include <config.h> 20169689Skan#endif 21169689Skan 2218334Speter#include "netdissect-stdinc.h" 2318334Speter 2418334Speter#include "netdissect.h" 2518334Speter 2618334Spetervoid 2718334Speterwhois_print(netdissect_options *ndo, const u_char *pptr, u_int len) 2818334Speter{ 2950397Sobrien ndo->ndo_protocol = "whois"; 30132718Skan txtproto_print(ndo, pptr, len, NULL, 0); 31132718Skan} 32117395Skan