Skip to content

Commit

Permalink
net/filter-mirror: Fix mirror initial check typo
Browse files Browse the repository at this point in the history
Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
  • Loading branch information
zhangckid authored and Michael Tokarev committed Oct 8, 2016
1 parent 7a25126 commit 52cfcb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/filter-mirror.c
Expand Up @@ -198,7 +198,7 @@ static void filter_mirror_setup(NetFilterState *nf, Error **errp)
MirrorState *s = FILTER_MIRROR(nf);

if (!s->outdev) {
error_setg(errp, "filter filter mirror needs 'outdev' "
error_setg(errp, "filter mirror needs 'outdev' "
"property set");
return;
}
Expand Down Expand Up @@ -315,7 +315,7 @@ filter_mirror_set_outdev(Object *obj, const char *value, Error **errp)
g_free(s->outdev);
s->outdev = g_strdup(value);
if (!s->outdev) {
error_setg(errp, "filter filter mirror needs 'outdev' "
error_setg(errp, "filter mirror needs 'outdev' "
"property set");
return;
}
Expand Down

0 comments on commit 52cfcb4

Please sign in to comment.