SSL-only channels and svn not compiling

Tim Wojtulewicz timwoj at ieee.org
Sat Jul 22 16:18:35 EDT 2006


I had a feature like this in the ssl patch I submitted a while back  
for 7.0.3.  It allows for channels where only uses that are connected  
via SSL can join.  I wrote it originally for 7.2.2 and it works fine  
there.  I ported it over to svn, but I can't get the latest svn to  
compile.  I've attached the patch below.  Since I couldn't get svn to  
compile, it hasn't been tested against that version.

As for svn not compiling...

ss_family doesn't exist in sockaddr_in on any of the machines I've  
got here (OS X, netbsd).  I *think* someone mean sin_family, so I  
corrected those, but it failed again on something else.

In file included from m_gline.c:34:
../include/parse_aline.h:53: error: conflicting types for `find_gline'
../include/conf/glines.h:53: error: previous declaration of `find_gline'
m_gline.c: In function `remove_gline_match':
m_gline.c:638: warning: implicit declaration of function  
`delete_one_address_conf'
*** Error code 1

Also, there's a ton of these warnings:

In file included from m_gline.c:33:
../include/s_conf.h:215:1: warning: "GDENY_BLOCK" redefined
In file included from ../include/conf/conf.h:37,
                  from m_gline.c:26:
../include/conf/glines.h:26:1: warning: this is the location of the  
previous definition
In file included from m_gline.c:33:
../include/s_conf.h:216:1: warning: "GDENY_REJECT" redefined
In file included from ../include/conf/conf.h:37,
                  from m_gline.c:26:
../include/conf/glines.h:25:1: warning: this is the location of the  
previous definition

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sslonly-svn.patch
Type: application/octet-stream
Size: 4065 bytes
Desc: not available
URL: <http://lists.ircd-hybrid.org/pipermail/hybrid/attachments/20060722/8359c4da/attachment.obj>
-------------- next part --------------

Tim


More information about the hybrid mailing list