[NETFILTER]: Fix undefined references to get_h225_addr
authorPatrick McHardy <kaber@trash.net>
Wed, 22 Mar 2006 21:57:25 +0000 (13:57 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 22 Mar 2006 21:57:25 +0000 (13:57 -0800)
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>
net/ipv4/netfilter/ip_conntrack_helper_h323.c

index 20da6730b86056d64f3959d6495448065a50fcd6..daeb1395faa4db85096a108489b70645d9c9955b 100644 (file)
@@ -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;