# 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.1692 -> 1.1693 # net/ipv4/ipvs/ip_vs_ctl.c 1.12 -> 1.13 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 04/03/09 wensong@xxxxxxxxxxxx 1.1693 # [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:36:29 2004 +++ b/net/ipv4/ipvs/ip_vs_ctl.c Tue Mar 9 00:36:29 2004 @@ -1836,9 +1836,9 @@ /* Check for valid protocol: TCP or UDP, even for fwmark!=0 */ if (usvc->protocol!=IPPROTO_TCP && usvc->protocol!=IPPROTO_UDP) { - IP_VS_INFO("vs_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s", - ntohs(usvc->protocol), NIPQUAD(usvc->addr), - ntohs(usvc->port), usvc->sched_name); + IP_VS_ERR("set_ctl: invalid protocol: %d %d.%d.%d.%d:%d %s\n", + usvc->protocol, NIPQUAD(usvc->addr), + ntohs(usvc->port), usvc->sched_name); ret = -EFAULT; goto out_unlock; }