Merit Network
Can't find what you're looking for? Search the Mail Archives.
  About Merit   Services   Network   Resources & Support   Network Research   News   Events   Home

Discussion Communities: Merit Network Email List Archives

OpenCALEA

Date Prev | Date Next | Date Index | Thread Index | Author Index | Historical
Re: [OpenCALEA] Re: Building Calea-lite in Debian Etch

  • From: Corey Edwards
  • Date: Fri Aug 08 16:48:50 2008

On Fri, 2008-08-08 at 16:42 -0400, Mario Antonio Garcia wrote:
> Pat,
> 
> Take a look at what happens when the controller starts with no
> arguments:
> --------------------------------------------------------------------------
> root@calea:~#controller
> ** ERROR **: Failed to open controller.ini
> ** ERROR **: No such file or directory
> aborting...
> Aborted
> --------------------------------------------------------------------------
> 
> Man pages would be very helpful...
> Do you have any examples of the required ini files?

I poked through the source files and came up with some examples,
although my tap is still crashing and I haven't figured it out yet so
possibly these files aren't correct.

I also found a simple bug in tap.c for which I've attached a patch.

Corey

[communication]
controller_port=1234
queue=5
[communication]
listener_port=1235
queue=5
[communication]
controller=127.0.0.1
controller_port=1234
connect_timeout=2
listener_port=1235
queue=5
update_packets=100
update_time=60
--- tap.c	2008-08-08 09:45:49.000000000 -0600
+++ tap.c~	2008-08-08 13:56:46.000000000 -0600
@@ -1020,7 +1020,7 @@
 	c_args.listener.sin_port = g_key_file_get_integer(keyfile, "communication", "listener_port", &error);
 
 	c_args.update_packets = g_key_file_get_integer(keyfile, "communication", "update_packets", &error);
-	c_args.update_time = g_key_file_get_integer(keyfile, "communication", "update_packets", &error);
+	c_args.update_time = g_key_file_get_integer(keyfile, "communication", "update_time", &error);
 	if (c_args.update_packets < 100)
 		c_args.update_packets = 100;
 	if (c_args.update_time < 60)

Attachment: signature.asc
Description: This is a digitally signed message part




Discussion Communities


About Merit | Services | Network | Resources & Support | Network Research
News | Events | Contact | Site Map | Merit Network Home


Merit Network, Inc.