Make _FindLinkIn() static and only define GetDestPort when
NO_FW_PUNCH isn't defined.
This commit is contained in:
parent
081d19aecd
commit
9da582e318
@ -1101,7 +1101,7 @@ FindLinkOut(struct in_addr src_addr,
|
||||
}
|
||||
|
||||
|
||||
struct alias_link *
|
||||
static struct alias_link *
|
||||
_FindLinkIn(struct in_addr dst_addr,
|
||||
struct in_addr alias_addr,
|
||||
u_short dst_port,
|
||||
@ -1652,11 +1652,13 @@ GetAliasPort(struct alias_link *link)
|
||||
return(link->alias_port);
|
||||
}
|
||||
|
||||
u_short
|
||||
#ifndef NO_FW_PUNCH
|
||||
static u_short
|
||||
GetDestPort(struct alias_link *link)
|
||||
{
|
||||
return(link->dst_port);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
SetAckModified(struct alias_link *link)
|
||||
|
@ -1101,7 +1101,7 @@ FindLinkOut(struct in_addr src_addr,
|
||||
}
|
||||
|
||||
|
||||
struct alias_link *
|
||||
static struct alias_link *
|
||||
_FindLinkIn(struct in_addr dst_addr,
|
||||
struct in_addr alias_addr,
|
||||
u_short dst_port,
|
||||
@ -1652,11 +1652,13 @@ GetAliasPort(struct alias_link *link)
|
||||
return(link->alias_port);
|
||||
}
|
||||
|
||||
u_short
|
||||
#ifndef NO_FW_PUNCH
|
||||
static u_short
|
||||
GetDestPort(struct alias_link *link)
|
||||
{
|
||||
return(link->dst_port);
|
||||
}
|
||||
#endif
|
||||
|
||||
void
|
||||
SetAckModified(struct alias_link *link)
|
||||
|
Loading…
Reference in New Issue
Block a user