diff options
author | Sven Wegener <sven.wegener@stealer.net> | 2010-08-17 22:07:11 +0200 |
---|---|---|
committer | Sven Wegener <sven.wegener@stealer.net> | 2010-09-01 11:10:36 +0200 |
commit | 6ba16c3bb74d178aeb5a6c069d9d5db2bb6229fb (patch) | |
tree | 5bf1d9501c364339d390cd0d83abedc09e22f8d1 /libipvs/libipvs.c | |
parent | b49e4cb402fc862b9b12ce7f0922381f1e1c051a (diff) |
Show backlog connectionsbacklog-conns
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Diffstat (limited to 'libipvs/libipvs.c')
-rw-r--r-- | libipvs/libipvs.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libipvs/libipvs.c b/libipvs/libipvs.c index 979d5bd..9a3c74c 100644 --- a/libipvs/libipvs.c +++ b/libipvs/libipvs.c @@ -748,6 +748,8 @@ static int ipvs_dests_parse_cb(struct nl_msg *msg, void *arg) d->entrytable[i].l_threshold = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_L_THRESH]); d->entrytable[i].activeconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_ACTIVE_CONNS]); d->entrytable[i].inactconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_INACT_CONNS]); + if (dest_attrs[IPVS_DEST_ATTR_BACKLOG_CONNS]) + d->entrytable[i].backlogconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_BACKLOG_CONNS]); d->entrytable[i].persistconns = nla_get_u32(dest_attrs[IPVS_DEST_ATTR_PERSIST_CONNS]); d->entrytable[i].af = d->af; |