This implements the same convention as in all other decoders.
#include "addrtoname.h"
#include "extract.h"
#include "addrtoname.h"
#include "extract.h"
+static const char tstr[] = " [|ntp]";
+
/*
* Based on ntp.h from the U of MD implementation
* This file is based on Version 2 of the NTP spec (RFC1119).
/*
* Based on ntp.h from the U of MD implementation
* This file is based on Version 2 of the NTP spec (RFC1119).
- ND_PRINT((ndo, " [|ntp]"));
+ ND_PRINT((ndo, " %s", tstr));
- ND_PRINT((ndo, " [|ntp]"));
+ ND_PRINT((ndo, " %s", tstr));
- ND_PRINT((ndo, " [|ntp]"));
+ ND_PRINT((ndo, " %s", tstr));