diff options
author | Zhang Chen <zhangchen.fnst@cn.fujitsu.com> | 2017-03-02 11:59:30 +0800 |
---|---|---|
committer | Jason Wang <jasowang@redhat.com> | 2017-03-06 11:46:02 +0800 |
commit | f0aabd5c4ae11fde704d138e8f06c69e5c902a16 (patch) | |
tree | 00ccdfa71fc33c43b881042086159e629d0efa37 /net | |
parent | 1723a7f7cfdee92c5479aa497a6c36dec3d0ebd5 (diff) |
net/filter-mirror: Follow CODING_STYLE
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/filter-mirror.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/net/filter-mirror.c b/net/filter-mirror.c index aa0aa98fa5..72fa7c2b6c 100644 --- a/net/filter-mirror.c +++ b/net/filter-mirror.c @@ -49,7 +49,7 @@ static int filter_mirror_send(CharBackend *chr_out, { int ret = 0; ssize_t size = 0; - uint32_t len = 0; + uint32_t len = 0; char *buf; size = iov_size(iov, iovcnt); @@ -77,8 +77,9 @@ err: return ret < 0 ? ret : -EIO; } -static void -redirector_to_filter(NetFilterState *nf, const uint8_t *buf, int len) +static void redirector_to_filter(NetFilterState *nf, + const uint8_t *buf, + int len) { struct iovec iov = { .iov_base = (void *)buf, |