-
Notifications
You must be signed in to change notification settings - Fork 761
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add patches to fix the following bugs:
- Fix renewal of IA_NA [*] - Update ifid on interface restart, it may have changed [*] - Remove unnecessary PF_ROUTE socket. [*] - Fix wrong length used in memset(). Obtained from: Debian/Ubuntu/Fedora/Red Hat packages via OpenBSD [*] Suggested by: Brad Smith [*]
- Loading branch information
1 parent
ee0c954
commit 7f6883d
Showing
4 changed files
with
83 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- addrconf.c.orig 2008-06-15 07:48:40 UTC | ||
| +++ addrconf.c | ||
| @@ -173,7 +173,7 @@ update_address(ia, addr, dhcpifp, ctlp, | ||
| sacreate ? "create" : "update", | ||
| in6addr2str(&addr->addr, 0), addr->pltime, addr->vltime); | ||
|
|
||
| - if (sa->addr.vltime != 0) | ||
| + if (sa->addr.vltime != 0 || sacreate) | ||
| if (na_ifaddrconf(IFADDRCONF_ADD, sa) < 0) | ||
| return (-1); | ||
|
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| --- auth.c.orig 2007-03-21 09:52:57 UTC | ||
| +++ auth.c | ||
| @@ -222,7 +222,7 @@ hmacmd5_invalidate(hmacmd5_t *ctx) | ||
| { | ||
| md5_invalidate(&ctx->md5ctx); | ||
| memset(ctx->key, 0, sizeof(ctx->key)); | ||
| - memset(ctx, 0, sizeof(ctx)); | ||
| + memset(ctx, 0, sizeof(*ctx)); | ||
| } | ||
|
|
||
| /* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters