Changeset bbb7ffe in mainline for uspace/srv/net/dhcp/dhcp_std.h


Ignore:
Timestamp:
2022-06-24T09:40:05Z (3 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
master, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b7155d7
Parents:
52214a2
git-author:
Jiri Svoboda <jiri@…> (2022-07-23 19:39:46)
git-committer:
Jiri Svoboda <jiri@…> (2022-06-24 09:40:05)
Message:

Randomize DHCP XID, cosmetic flag fix

Set XID to a random 32-bit number, instead of 42.
DHCP flags is technically 16-bit field, although this has no effect on
the function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/net/dhcp/dhcp_std.h

    r52214a2 rbbb7ffe  
    11/*
    2  * Copyright (c) 2013 Jiri Svoboda
     2 * Copyright (c) 2022 Jiri Svoboda
    33 * All rights reserved.
    44 *
     
    8787/** Values for dhcp_hdr_t.flags */
    8888enum dhcp_flags {
    89         flag_broadcast = 0x80
     89        flag_broadcast = 0x8000
    9090};
    9191
Note: See TracChangeset for help on using the changeset viewer.