summaryrefslogtreecommitdiffstats
path: root/plugins/lb-plugin/lb/lb.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/lb-plugin/lb/lb.c')
-rw-r--r--plugins/lb-plugin/lb/lb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/lb-plugin/lb/lb.c b/plugins/lb-plugin/lb/lb.c
index 6af4697e37c..69bd660aba3 100644
--- a/plugins/lb-plugin/lb/lb.c
+++ b/plugins/lb-plugin/lb/lb.c
@@ -118,7 +118,9 @@ u8 *format_lb_vip (u8 * s, va_list * args)
u8 *format_lb_as (u8 * s, va_list * args)
{
lb_as_t *as = va_arg (*args, lb_as_t *);
- return format(s, "%U %s", format_ip46_address, &as->address, (as->flags & LB_AS_FLAGS_USED)?"used":"removed");
+ return format(s, "%U %s", format_ip46_address,
+ &as->address, IP46_TYPE_ANY,
+ (as->flags & LB_AS_FLAGS_USED)?"used":"removed");
}
u8 *format_lb_vip_detailed (u8 * s, va_list * args)