oidentd-1.9.9.1 patch

Radoslaw Kojdecki radek at media-com.com.pl
Mon Oct 1 19:19:25 CEST 2001


There is a problem with "oidentd -m" on Linux box'es (IPv4). This patch
should fix it. 

regards,

Radek
-- 
---------------------------------------------------------------------
Media-Com Sp. z o.o.                       43-100 Tychy, ul. Długa 19
http://www.media-com.com.pl/           e-mail : info at media-com.com.pl
---------------------------------------------------------------------
-------------- next part --------------
diff -p -r oidentd-1.9.9.1.orig/src/oidentd.c oidentd-1.9.9.1/src/oidentd.c
*** oidentd-1.9.9.1.orig/src/oidentd.c	Fri Sep 14 23:51:58 2001
--- oidentd-1.9.9.1/src/oidentd.c	Mon Oct  1 19:02:33 2001
*************** static int service_request(int sock) {
*** 252,258 ****
  	if (con_uid == -1) {
  		if (opt_enabled(MASQ) && conisipv4 == true) {
  			ret = masq(sock, htons(lport), htons(fport),
! 					sin_addr(&laddr), sin_addr(&faddr));
  
  			if (ret == 0)
  				return (0);
--- 252,258 ----
  	if (con_uid == -1) {
  		if (opt_enabled(MASQ) && conisipv4 == true) {
  			ret = masq(sock, htons(lport), htons(fport),
! 					sin_addr(&laddr), (&faddr));
  
  			if (ret == 0)
  				return (0);


More information about the pld-devel-en mailing list