X-Git-Url: http://git.madism.org/?a=blobdiff_plain;f=postlicyd%2Fstrlist.c;h=20e6a5818094327138cd728422dd32f2ea260145;hb=d229b104fb45ef8a5b968da80383f571625fa976;hp=25ed069a290727dd8af71dd10118a50f1092629e;hpb=5c75febadf099c0a656b3b8072b14ec14b38c2f6;p=apps%2Fpfixtools.git diff --git a/postlicyd/strlist.c b/postlicyd/strlist.c index 25ed069..20e6a58 100644 --- a/postlicyd/strlist.c +++ b/postlicyd/strlist.c @@ -224,8 +224,10 @@ static bool strlist_filter_constructor(filter_t *filter) array_add(config->reverses, reverse); break; } - current = p + 1; - p = m_strchrnul(current, ':'); + if (i != 3) { + current = p + 1; + p = m_strchrnul(current, ':'); + } } } break;