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