[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Re: [PATCH] Add `tftpd' and `tftp' test.
From: |
Alfred M. Szmidt |
Subject: |
Re: [bug-inetutils] Re: [PATCH] Add `tftpd' and `tftp' test. |
Date: |
Sun, 31 Oct 2010 16:03:40 -0400 |
Thanks! Applied.
2010-10-31 Ludovic Court�s <address@hidden>
tftp: Resolve the "tftp" service only when no port is specified.
* src/tftp.c: Include <error.h>.
(port): Change from `short' to `int'.
(sp): Remove variable.
(main): Don't call `getservbyname'.
(setpeer): Call `getservbyname' when ARGC != 3.
(put, get): Refer to PORT instead of SP->s_port.