[Top] [All Lists]

[PATCH] trivial ipmr pim_protocol compile fix

To: netdev@xxxxxxxxxxx
Subject: [PATCH] trivial ipmr pim_protocol compile fix
From: Chris Wright <chrisw@xxxxxxxx>
Date: Thu, 11 Mar 2004 18:01:21 -0800
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
pim_protocol is defined but never used if !CONFIG_IP_PIMSM_V2

  CC      net/ipv4/ipmr.o
net/ipv4/ipmr.c:112: warning: `pim_protocol' defined but not used

I hate adding more ifdefs to this file, but here goes the simplest fix.

===== net/ipv4/ipmr.c 1.37 vs edited =====
--- 1.37/net/ipv4/ipmr.c        Mon Feb 23 15:09:54 2004
+++ edited/net/ipv4/ipmr.c      Thu Mar 11 17:55:40 2004
@@ -109,7 +109,9 @@
 static int ipmr_cache_report(struct sk_buff *pkt, vifi_t vifi, int assert);
 static int ipmr_fill_mroute(struct sk_buff *skb, struct mfc_cache *c, struct 
rtmsg *rtm);
 static struct inet_protocol pim_protocol;
 static struct timer_list ipmr_expire_timer;

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] trivial ipmr pim_protocol compile fix, Chris Wright <=