# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.1333 -> 1.1334 # net/ipv4/ipvs/ip_vs_ctl.c 1.4 -> 1.5 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/03/09 wensong@xxxxxxxxxxxx 1.1334 # [IPVS] code tidy up # # Patch from Horms # # 1. The trailing '\n' was missing, it has been added # 2. The protocol is already in host byte order, # the ntohl() call has been removed # -------------------------------------------- # diff -Nru a/net/ipv4/ipvs/ip_vs_ctl.c b/net/ipv4/ipvs/ip_vs_ctl.c --- a/net/ipv4/ipvs/ip_vs_ctl.c Tue Mar 9 00:03:29 2004 +++ b/net/ipv4/ipvs/ip_vs_ctl.c Tue Mar 9 00:03:29 2004 @@ -1737,9 +1737,9 @@ * Check for valid protocol: TCP or UDP. Even for fwmark!=0 */ if (urule->protocol!=IPPROTO_TCP && urule->protocol!=IPPROTO_UDP) { - IP_VS_INFO("vs_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s", - ntohs(urule->protocol), NIPQUAD(urule->vaddr), - ntohs(urule->vport), urule->sched_name); + IP_VS_ERR("set_ctl: invalid protocol %d %d.%d.%d.%d:%d %s\n", + urule->protocol, NIPQUAD(urule->vaddr), + ntohs(urule->vport), urule->sched_name); ret = -EFAULT; goto out_unlock; }