Skip to content

Commit 13bf815

Browse files
committed
Fix spelling of PTP type SIGNALING
The IEEE 1588 (PTP) standard uses the spelling SIGNALING, with one L.
1 parent da4cfa2 commit 13bf815

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

print-ptp.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@
157157
* | Requesting Port Identity |
158158
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
159159
*
160-
* Signalling Message (msg type=0xC)
160+
* Signaling Message (msg type=0xC)
161161
* 0 1 2 3
162162
* 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
163163
* +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
@@ -184,7 +184,7 @@
184184
#define M_DELAY_RESP 0x9
185185
#define M_PDELAY_RESP_FOLLOW_UP 0xA
186186
#define M_ANNOUNCE 0xB
187-
#define M_SIGNALLING 0xC
187+
#define M_SIGNALING 0xC
188188
#define M_MANAGEMENT 0xD
189189

190190
static const struct tok ptp_msg_type[] = {
@@ -197,7 +197,7 @@ static const struct tok ptp_msg_type[] = {
197197
{ M_DELAY_RESP ,"delay resp msg"},
198198
{ M_PDELAY_RESP_FOLLOW_UP ,"pdelay resp fup msg"},
199199
{ M_ANNOUNCE ,"announce msg"},
200-
{ M_SIGNALLING ,"signalling msg"},
200+
{ M_SIGNALING ,"signaling msg"},
201201
{ M_MANAGEMENT ,"management msg"},
202202
{ 0, NULL}
203203
};
@@ -417,7 +417,7 @@ ptp_print_2(netdissect_options *ndo, const u_char *bp, u_int length)
417417
case M_ANNOUNCE:
418418
ptp_print_announce_msg(ndo, bp, &len);
419419
break;
420-
case M_SIGNALLING:
420+
case M_SIGNALING:
421421
ptp_print_port_id(ndo, bp, &len);
422422
break;
423423
case M_MANAGEMENT:

0 commit comments

Comments
 (0)