Skip to content

Commit

Permalink
[NETFILTER]: Fix undefined references to get_h225_addr
Browse files Browse the repository at this point in the history
get_h225_addr is exported, but declared static, which fails when
linking statically.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Mar 22, 2006
1 parent 1e30a01 commit 6a534ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/ipv4/netfilter/ip_conntrack_helper_h323.c
Original file line number Diff line number Diff line change
Expand Up @@ -639,8 +639,8 @@ void ip_conntrack_h245_expect(struct ip_conntrack *new,
}

/****************************************************************************/
static int get_h225_addr(unsigned char *data, TransportAddress * addr,
u_int32_t * ip, u_int16_t * port)
int get_h225_addr(unsigned char *data, TransportAddress * addr,
u_int32_t * ip, u_int16_t * port)
{
unsigned char *p;

Expand Down

0 comments on commit 6a534ee

Please sign in to comment.