CVS Commit: network

cvs at videolan.org cvs at videolan.org
Fri Apr 20 06:21:09 CEST 2001


Update of /cvs/videolan/network/VLANserver
Modified Files:
	Makefile TODO types.c 

Update of /cvs/videolan/network/VLANserver/config
Modified Files:
	config.fl 

Update of /cvs/videolan/network/VLANserver/server
Modified Files:
	connect.c connect.h poll_switch.c poll_switch.h 
	request_handler.c server.c server.h 

Update of /cvs/videolan/network/VLANserver/snmp
Modified Files:
	callback.c if_snmp.c if_snmp.h snmp.c snmp.h snmp_switch.h 

Log Message:
. Added an option in .fl in order to avoid the gcc warning

. Changed DEBUG option in DEBUG for logs and MEM_DEBUG for memory purpose

. Removed *vs argument (vs is now a global variable) in each function

. Updated vlanserver.conf.sample

. snmp time out is yet implemented

. so switches are not polled the same way:
   no second init, just reasking 5 times aborting after

. Added the good #includes in order not to have to put the snmp prototypes
  in our code

. Removed a segfault in snmp when using traps

All this seems to work well.
BUT there is always the current segfault.
 I think now that it relies on double use of libsnmp
   I mean call to snmp_create_pdu inside one of our function which is itself
   called by snmp_read. Seems not to be allowed.
   I'm gonna try not to resend anything in callback.c but pushing requests
   to main loop in order to execute snmp functions outside snmp_read.



-- 
nitrox




More information about the vlcs-devel mailing list