13d25ea14Schristos /* 23d25ea14Schristos * Redistribution and use in source and binary forms, with or without 33d25ea14Schristos * modification, are permitted provided that: (1) source code 43d25ea14Schristos * distributions retain the above copyright notice and this paragraph 53d25ea14Schristos * in its entirety, and (2) distributions including binary code include 63d25ea14Schristos * the above copyright notice and this paragraph in its entirety in 73d25ea14Schristos * the documentation or other materials provided with the distribution. 83d25ea14Schristos * THIS SOFTWARE IS PROVIDED ``AS IS'' AND 93d25ea14Schristos * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT 103d25ea14Schristos * LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 113d25ea14Schristos * FOR A PARTICULAR PURPOSE. 123d25ea14Schristos */ 133d25ea14Schristos 14fdccd7e4Schristos #include <sys/cdefs.h> 15fdccd7e4Schristos #ifndef lint 16*26ba0b50Schristos __RCSID("$NetBSD: print-ftp.c,v 1.5 2024/09/02 16:15:31 christos Exp $"); 17fdccd7e4Schristos #endif 18fdccd7e4Schristos 19dc860a36Sspz /* \summary: File Transfer Protocol (FTP) printer */ 203d25ea14Schristos 21c74ad251Schristos #include <config.h> 223d25ea14Schristos 23c74ad251Schristos #include "netdissect-stdinc.h" 243d25ea14Schristos 253d25ea14Schristos #include "netdissect.h" 263d25ea14Schristos 273d25ea14Schristos void 283d25ea14Schristos ftp_print(netdissect_options *ndo, const u_char *pptr, u_int len) 293d25ea14Schristos { 30c74ad251Schristos ndo->ndo_protocol = "ftp"; 31c74ad251Schristos txtproto_print(ndo, pptr, len, NULL, 0); 323d25ea14Schristos } 33