-
-
Notifications
You must be signed in to change notification settings - Fork 572
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
118 additions
and
3 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,111 @@ | ||
diff -up src/Net-Libdnet-0.99/Libdnet.xs.orig src/Net-Libdnet-0.99/Libdnet.xs | ||
--- src/Net-Libdnet-0.99/Libdnet.xs.orig 2024-09-14 20:27:08.080000000 -0600 | ||
+++ src/Net-Libdnet-0.99/Libdnet.xs 2024-09-14 20:28:48.510000000 -0600 | ||
@@ -262,7 +262,7 @@ _obsolete_addr_cmp(SvA, SvB) | ||
CODE: | ||
char *StrA, *StrB; | ||
struct addr SadA, SadB; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* | ||
we cannot avoid ugly nesting, because | ||
@@ -306,7 +306,7 @@ _obsolete_addr_bcast(SvAd) | ||
CODE: | ||
char *StrAd; | ||
struct addr SadAd, SadBc; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvAd) ){ | ||
@@ -344,7 +344,7 @@ _obsolete_addr_net(SvAd) | ||
CODE: | ||
char *StrAd; | ||
struct addr SadAd, SadBc; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvAd) ){ | ||
@@ -385,7 +385,7 @@ _obsolete_arp_add(SvProtoAddr, SvHwAddr) | ||
struct arp_entry SarEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvProtoAddr) ){ | ||
@@ -448,7 +448,7 @@ _obsolete_arp_delete(SvProtoAddr) | ||
struct arp_entry SarEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvProtoAddr) ){ | ||
@@ -497,7 +497,7 @@ _obsolete_arp_get(SvProtoAddr) | ||
struct arp_entry SarEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvProtoAddr) ){ | ||
@@ -553,7 +553,7 @@ _obsolete_intf_get(SvName) | ||
intf_t *ItIntf; | ||
struct intf_entry SieEntry; | ||
char *StrName; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* prepare undefined hash */ | ||
HvUndef = newHV(); | ||
@@ -599,7 +599,7 @@ _obsolete_intf_get_src(SvAddr) | ||
struct intf_entry SieEntry; | ||
struct addr SaAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* prepare undefined hash */ | ||
HvUndef = newHV(); | ||
@@ -650,7 +650,7 @@ _obsolete_intf_get_dst(SvAddr) | ||
struct intf_entry SieEntry; | ||
struct addr SaAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* prepare undefined hash */ | ||
HvUndef = newHV(); | ||
@@ -701,7 +701,7 @@ _obsolete_route_add(SvDstAddr, SvGwAddr) | ||
struct route_entry SrtEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvDstAddr) ){ | ||
@@ -764,7 +764,7 @@ _obsolete_route_delete(SvDstAddr) | ||
struct route_entry SrtEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvDstAddr) ){ | ||
@@ -813,7 +813,7 @@ _obsolete_route_get(SvDstAddr) | ||
struct route_entry SrtEntry; | ||
struct addr SadAddr; | ||
char *StrAddr; | ||
- int len; | ||
+ long unsigned int len; | ||
|
||
/* check input */ | ||
if( !SvOK(SvDstAddr) ){ |
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