summaryrefslogtreecommitdiff
path: root/tests/lib/test_printfrr.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/test_printfrr.c')
-rw-r--r--tests/lib/test_printfrr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/lib/test_printfrr.c b/tests/lib/test_printfrr.c
index 8413b7b372..7694077574 100644
--- a/tests/lib/test_printfrr.c
+++ b/tests/lib/test_printfrr.c
@@ -206,16 +206,16 @@ int main(int argc, char **argv)
struct prefix_sg sg;
sg.src.s_addr = INADDR_ANY;
sg.grp.s_addr = INADDR_ANY;
- printchk("(*,*)", "%pSG4", &sg);
+ printchk("(*,*)", "%pPSG4", &sg);
inet_aton("192.168.1.2", &sg.src);
- printchk("(192.168.1.2,*)", "%pSG4", &sg);
+ printchk("(192.168.1.2,*)", "%pPSG4", &sg);
inet_aton("224.1.2.3", &sg.grp);
- printchk("(192.168.1.2,224.1.2.3)", "%pSG4", &sg);
+ printchk("(192.168.1.2,224.1.2.3)", "%pPSG4", &sg);
sg.src.s_addr = INADDR_ANY;
- printchk("(*,224.1.2.3)", "%pSG4", &sg);
+ printchk("(*,224.1.2.3)", "%pPSG4", &sg);
uint8_t randhex[] = { 0x12, 0x34, 0x00, 0xca, 0xfe, 0x00, 0xaa, 0x55 };