security/snuffleupagus: update 0.1.0 -> 0.2.1
PR: 225593 Submitted by: Franco Fichtner <franco@opnsense.org> (maintainer) Relnotes: https://github.com/nbs-system/snuffleupagus/releases
This commit is contained in:
parent
c1c8fa003a
commit
e296ffcd19
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=461211
3 changed files with 4 additions and 22 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
PORTNAME= snuffleupagus
|
||||
DISTVERSIONPREFIX=v
|
||||
DISTVERSION= 0.1.0
|
||||
DISTVERSION= 0.2.1
|
||||
CATEGORIES= security
|
||||
|
||||
MAINTAINER= franco@opnsense.org
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
TIMESTAMP = 1513844643
|
||||
SHA256 (nbs-system-snuffleupagus-v0.1.0_GH0.tar.gz) = 7b3432e46ecdd1eb78666ee03475bbc2e50b1bd4de71a8d5a03c7d90168a004a
|
||||
SIZE (nbs-system-snuffleupagus-v0.1.0_GH0.tar.gz) = 3898803
|
||||
TIMESTAMP = 1518017293
|
||||
SHA256 (nbs-system-snuffleupagus-v0.2.1_GH0.tar.gz) = f78013a8fbcfa785b64c694cc6ebf6a90106ef96bee4d440681e5186b1f73ce4
|
||||
SIZE (nbs-system-snuffleupagus-v0.2.1_GH0.tar.gz) = 3864690
|
||||
|
|
|
@ -1,18 +0,0 @@
|
|||
--- sp_network_utils.c.orig 2017-12-21 22:34:33 UTC
|
||||
+++ sp_network_utils.c
|
||||
@@ -23,15 +23,8 @@ static inline bool cidr4_match(const str
|
||||
|
||||
static inline bool cidr6_match(const struct in6_addr address,
|
||||
const struct in6_addr network, uint8_t bits) {
|
||||
- //#ifdef LINUX
|
||||
- const uint32_t *a = address.s6_addr32;
|
||||
- const uint32_t *n = network.s6_addr32;
|
||||
- /*
|
||||
-#else
|
||||
const uint32_t *a = address.__u6_addr.__u6_addr32;
|
||||
const uint32_t *n = network.__u6_addr.__u6_addr32;
|
||||
-#endif
|
||||
-*/
|
||||
int bits_whole = bits >> 5; // number of whole u32
|
||||
int bits_incomplete = bits & 0x1F; // number of bits in incomplete u32
|
||||
if (bits_whole) {
|
Loading…
Reference in a new issue