Skip to content

Commit 2e64fd2

Browse files
authored
Merge pull request #591 from ywc689/bugfix
iftraf: fix misleading-indentation problem
2 parents f3cec02 + 39f5918 commit 2e64fd2

File tree

2 files changed

+11
-28
lines changed

2 files changed

+11
-28
lines changed

src/VERSION

Lines changed: 9 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,25 @@
11
#!/bin/sh -
22
# program: dpvs
3-
# May 13, 2020
3+
# Jun 16, 2020
44
#
55
#####################################
6-
# This is a bugfix verison of v1.8.2.
6+
# Deprecate version v1.8.2, v1.8.4
77
#####################################
88
#
99
# # Features
1010
# ----------
11-
#
11+
# - Support per-service established timeout for udp.
12+
# - Expire quiescent connections for udp and tcp with per-service config.
1213
#
1314
# # Bugfix
1415
# --------
15-
# - Keepalived: Fix virtual server partial deletion problem when configured with virtual server group.
16-
# - Keepalived: Fix realserver deletion problem when the realservers marked as down state by health_checker.
17-
# - Keepalived: Fix reload problem for some configurations, such as conn timeout, blklst addresses, etc.
18-
# - Keepalived: Fix configurations would not load problem after restart on occasion.
19-
# - Keepalived: Fix port transition support problem in fullnat mode.
20-
# - Keepalived: Fix logging problem for MATCH/ICMP/ICMPv6 in keepalived.
21-
# - Keepalived: Fix snat configuration and reload problem.
22-
# - Keepalived: Fix conhash scheduler configuration problem in keepalived.
23-
# - Keepalived: Fix incorrect ipvs stats problem caused by mismatch structures of keepalived and dpvs.
24-
# - Keepalived: Fix crash when snat and fullnat configured together.
25-
# - Keepalived: Fix address family setting problem for nat64 forwarding.
26-
# - Keepalived: Fix dpvs route setting problem in keepalived vrrp.
27-
# - Keepalived: Fix laddr configuration problems with ip range style.
28-
# - Keepalived: Mergerd virtual server group address into range list.
29-
# - Keepalived: Update libipvs and related headers.
30-
# - Ipvsadm: do not show address family for MATCH rule.
31-
# - Dpvs: Fix ipv6 and nat64 blklst support problem.
32-
# - Dpvs: Fix duplicated ipv4 local-in routes problem.
33-
# - Dpvs: Allow to use non-continuous lcores, like "-l 0,1-8,11-18".
34-
# - Dpvs: Fix crash prolbem when cpu id is not set correctly by ipvsadm.
35-
# - Dpvs: Fix compile error caused by inline method.
36-
# - Dpvs: Fix a array boundary overflow issue.
16+
# - Fix problem that keepalived supports only 1k realservers at max.
17+
# - Fix dpvs crash problem caused by "dpip addr" command.
18+
# - Fix laddr display problem of slave workers.
19+
# - Remove auto generated keepalived make files.
3720

3821

3922
export VERSION=1.8
40-
export RELEASE=4
23+
export RELEASE=5
4124

4225
echo $VERSION-$RELEASE

src/iftraf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,7 @@ int iftraf_sockopt_get(sockoptid_t opt, const void *conf, size_t size,
387387

388388
if (!conf || size < sizeof(struct dp_vs_iftraf_conf) || !out || !outsize)
389389
return EDPVS_INVAL;
390-
cf = conf;
390+
cf = conf;
391391

392392
if (cf && strlen(cf->ifname)) {
393393
port = netif_port_get_by_name(cf->ifname);
@@ -505,7 +505,7 @@ static void inline iftraf_tlb_add(struct iftraf_pkt *param)
505505
entry->daddr.in6.s6_addr32[0],entry->daddr.in6.s6_addr32[1],
506506
entry->daddr.in6.s6_addr32[2],entry->daddr.in6.s6_addr32[3],
507507
ntohs(entry->sport), ntohs(entry->dport), param->pkt_len);
508-
}
508+
}
509509

510510
/* Update record */
511511
entry->last_write = history_pos;

0 commit comments

Comments
 (0)