-
Notifications
You must be signed in to change notification settings - Fork 79
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
igmpproxy timer execute error #58
Comments
I want to push a commit for it , but I don't how to do . onesecret@onesecret-Vostro-3470:~/igmpproxy$ git push origin HEAD:refs/for/master can I push a commit ? It looks like I have no permission. |
Hello! You first need to create your own fork of this repository, then push changes inyo your own fork and later create a pull request for including changes of your fork into main igmpproxy repository agin. See official help guidelines with screenshots from github how to fork repository and how to create a pull requests, this should help you: |
Thank you, I'll try it |
First PR for a complete rewrite of igmpproxy. This rewrite will include several fixes, and new functionality. This PR changes callout.c to a simpler and more stable callout queue algorithm. Also igmpproxy.c is sanitized and the main event loop based on the new callout queue. Several structs and variables are moved to igmpproxy.h, a few prototypes added and sanitized into the unified style. config.c is modified slightly to add NULL pointers for new blacklists that will be added. Fixes: pali#58
First PR for a complete rewrite of igmpproxy. This rewrite will include several fixes, and new functionality. This PR changes callout.c to a simpler and more stable callout queue algorithm. Also igmpproxy.c is sanitized and the main event loop based on the new callout queue. Several structs and variables are moved to igmpproxy.h, a few prototypes added and sanitized into the unified style. config.c is modified slightly to add NULL pointers for new blacklists that will be added. Fixes: pali#58
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58 Fixed a few typos and comments
This commit contains a number of changes to the timing structure and main event loops. Also several variables and structs were moved to igmpproxy.h in preperation to coming changes. Includes minor changes to config.c and request.c to include new blacklists for interfaces. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58 Fixed a few typos and comments Added sighup_action to struct Config
This commit contains a number of changes to the timing structure and main event loops. Includes minor changes to config.c and request.c to include add name for timers. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58 Fixed a few typos and comments Updated Timing Algorithm Timers are now kept with a struct timespec, so they are much mnore acurately scheduled. Added a name to the timeoutqueue struct, improves debugging timers by a bunch. Renamed timer functions to be more in line with style time_ageQueue() now returns ns until next timer if scheduled in less then 1s. this makes timer execuation really accurate. Timers are not missed by more than a few 1/100s Updated syslog.c to add timestamp when logging to stderr.
This commit contains a number of changes to the timing structure and main event loops. Includes minor changes to config.c and request.c to include add name for timers. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58 Fixed a few typos and comments Updated Timing Algorithm Timers are now kept with a struct timespec, so they are much mnore acurately scheduled. Added a name to the timeoutqueue struct, improves debugging timers by a bunch. Renamed timer functions to be more in line with style time_ageQueue() now returns ns until next timer if scheduled in less then 1s. this makes timer execuation really accurate. Timers are not missed by more than a few 1/100s Updated syslog.c to add timestamp when logging to stderr.
This commit contains a number of changes to the timing structure and main event loops. Includes minor changes to config.c and request.c to include add name for timers. callout.c is modified to a simpler and more stable algorithm. igmpproxy.h and igmpproxy.c are sanitized and adopted to the new callout queue. FIXES: pali#58 Fixed a few typos and comments Updated Timing Algorithm Timers are now kept with a struct timespec, so they are much mnore acurately scheduled. Added a name to the timeoutqueue struct, improves debugging timers by a bunch. Renamed timer functions to be more in line with style time_ageQueue() now returns ns until next timer if scheduled in less then 1s. this makes timer execuation really accurate. Timers are not missed by more than a few 1/100s Updated syslog.c to add timestamp when logging to stderr. void debugQeueu(VOID)
diff --git a/src/igmpproxy.c b/src/igmpproxy.c
index 9d1172b..46a659b 100644
--- a/src/igmpproxy.c
+++ b/src/igmpproxy.c
@@ -297,7 +297,7 @@ void igmpProxyRun(void) {
timeout = NULL;
} else {
timeout->tv_nsec = 0;
- timeout->tv_sec = (secs > 3) ? 3 : secs; // aimwang: set max timeout
+ timeout->tv_sec = secs = (secs > 3) ? 3 : secs; // aimwang: set max timeout
}
it cause a problem at :
The text was updated successfully, but these errors were encountered: