src/Virt_FilterEntry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
# HG changeset patch
# User Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
# Date 1317912440 10800
# Node ID a323895be993b3807cc41348ba3b74c76fb42596
# Parent fa576f11a652c4632afb62c687707effb2e98a80
FilterEntry: Should be using srcipaddr instead of srcmacaddr
Signed-off-by: Eduardo Lima (Etrunko) <eblima(a)br.ibm.com>
diff --git a/src/Virt_FilterEntry.c b/src/Virt_FilterEntry.c
--- a/src/Virt_FilterEntry.c
+++ b/src/Virt_FilterEntry.c
@@ -238,7 +238,7 @@
(CMPIValue *)&array, CMPI_uint8A);
} else {
memset(bytes, 0, sizeof(bytes));
- size = octets_from_ip(rule->var.tcp.srcmacaddr,
+ size = octets_from_ip(rule->var.tcp.srcipaddr,
bytes, sizeof(bytes));
array = octets_to_cmpi(broker, bytes, size);