diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-21 07:56:06 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-06-21 07:56:06 +0200 |
commit | c05d2e9da75508f2d65ace2eeb0b89c30b99962b (patch) | |
tree | 4ab80c16f87c7ee04e7957b3aaf034cc635a0daf /package/atftp/patches/patch-tftpd_c | |
parent | 90f603e2be40d996c421ae8e95464e38911eabaf (diff) |
update atftp, use sourceforge homepage
Diffstat (limited to 'package/atftp/patches/patch-tftpd_c')
-rw-r--r-- | package/atftp/patches/patch-tftpd_c | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/package/atftp/patches/patch-tftpd_c b/package/atftp/patches/patch-tftpd_c deleted file mode 100644 index 93568d91a..000000000 --- a/package/atftp/patches/patch-tftpd_c +++ /dev/null @@ -1,20 +0,0 @@ -$Id: update-patches 24 2008-08-31 14:56:13Z wbx $ ---- atftp-0.7.orig/tftpd.c 2004-02-27 03:05:26.000000000 +0100 -+++ atftp-0.7/tftpd.c 2008-10-09 11:58:48.000000000 +0200 -@@ -230,14 +230,8 @@ int main(int argc, char **argv) - - /* find the port */ - if (tftpd_port == 0) -- { -- if ((serv = getservbyname("tftp", "udp")) == NULL) -- { -- logger(LOG_ERR, "atftpd: udp/tftp, unknown service"); -- exit(1); -- } -- tftpd_port = ntohs(serv->s_port); -- } -+ tftpd_port = htons(69); -+ - /* initialise sockaddr_in structure */ - memset(&sa, 0, sizeof(sa)); - sa.sin_family = AF_INET; |