Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dynamic initial timers for OONF are not working #30

Closed
gabri94 opened this issue Mar 22, 2018 · 0 comments
Closed

Dynamic initial timers for OONF are not working #30

gabri94 opened this issue Mar 22, 2018 · 0 comments

Comments

@gabri94
Copy link
Member

gabri94 commented Mar 22, 2018

In the latest versions of prince the funcionality of getting the initial hello and tc timers directly from the routing daemon has been added.
For the olsr module there's the function:

int get_initial_timers(routing_plugin *o, struct timers *t){
	t->h_timer = get_initial_timer(o, "/HelloTimer");
	t->tc_timer = get_initial_timer(o, "/TcTimer");
	if(t->h_timer && t->tc_timer){
		printf("Inital timers:%f\t %f\n", t->h_timer, t->tc_timer);
		return 1;
	}
	return 0;
}

A similar function should be created for OONF using the remote config plugin that already provides that API.

@gabri94 gabri94 closed this as completed Apr 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant