summaryrefslogtreecommitdiff
path: root/ldpd/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldpd/log.c')
-rw-r--r--ldpd/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldpd/log.c b/ldpd/log.c
index 77efdb4714..661fe04b19 100644
--- a/ldpd/log.c
+++ b/ldpd/log.c
@@ -313,7 +313,7 @@ log_hello_src(const struct hello_source *src)
const char *
log_map(const struct map *map)
{
- static char buf[64];
+ static char buf[128];
switch (map->type) {
case MAP_TYPE_WILDCARD:
@@ -327,8 +327,8 @@ log_map(const struct map *map)
return ("???");
break;
case MAP_TYPE_PWID:
- if (snprintf(buf, sizeof(buf), "pwid %u (%s)",
- map->fec.pwid.pwid,
+ if (snprintf(buf, sizeof(buf), "pw-id %u group-id %u (%s)",
+ map->fec.pwid.pwid, map->fec.pwid.group_id,
pw_type_name(map->fec.pwid.type)) == -1)
return ("???");
break;