Skip to content

Commit 599849d

Browse files
committed
Fix CI
1 parent aaf0e1b commit 599849d

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515

1616
jobs:
1717
unittest:
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-20.04
1919
steps:
2020
- name: Clone This Repo
2121
uses: actions/checkout@v4
@@ -139,7 +139,7 @@ jobs:
139139
exclude-dirs: source/portable/NetworkInterface/STM32
140140

141141
doxygen:
142-
runs-on: ubuntu-latest
142+
runs-on: ubuntu-20.04
143143
steps:
144144
- uses: actions/checkout@v4
145145
- name: Run doxygen build

source/FreeRTOS_DNS.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -806,14 +806,14 @@ const MACAddress_t xMDNS_MacAddressIPv6 = { { 0x33, 0x33, 0x00, 0x00, 0x00, 0xFB
806806
uxExpectedPayloadLength = sizeof( DNSMessage_t ) +
807807
strlen( pcHostName ) +
808808
sizeof( uint16_t ) +
809-
sizeof( uint16_t ) +
810-
2U; /* Accounts for the extra length fields
811-
used while encoding the domain name being
812-
queried into sequence of labels
813-
(2 - length of the first label and ending NULL
814-
byte; rest of the length fields placed in
815-
the location of ASCII_BASELINE_DOT of the
816-
respective labels). */
809+
sizeof( uint16_t ) +
810+
2U; /* Accounts for the extra length fields
811+
* used while encoding the domain name being
812+
* queried into sequence of labels
813+
* (2 - length of the first label and ending NULL
814+
* byte; rest of the length fields placed in
815+
* the location of ASCII_BASELINE_DOT of the
816+
* respective labels). */
817817

818818
/* Get a buffer. This uses a maximum delay, but the delay will be
819819
* capped to ipconfigUDP_MAX_SEND_BLOCK_TIME_TICKS so the return value
@@ -1512,7 +1512,7 @@ const MACAddress_t xMDNS_MacAddressIPv6 = { { 0x33, 0x33, 0x00, 0x00, 0x00, 0xFB
15121512

15131513
/* Copy in the host name. */
15141514
( void ) strcpy( ( char * ) &( pucUDPPayloadBuffer[ uxIndex ] ), pcHostName );
1515-
1515+
15161516
/* Walk through the string to replace the '.' characters with byte
15171517
* counts. pucStart holds the address of the byte count. Walking the
15181518
* string starts after the byte count position. */

0 commit comments

Comments
 (0)