~mmach/netext73/busybox

« back to all changes in this revision

Viewing changes to networking/arping.c

  • Committer: mmach
  • Date: 2023-07-06 04:40:25 UTC
  • Revision ID: netbit73@gmail.com-20230706044025-2ia9985i8wzdn2a7
1.36.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
//config:config ARPING
9
9
//config:       bool "arping (9 kb)"
10
10
//config:       default y
 
11
//config:       depends on PLATFORM_LINUX
11
12
//config:       help
12
13
//config:       Ping hosts by ARP packets.
13
14
 
159
160
        if (option_mask32 & DAD)
160
161
                exit(!!received);
161
162
        if (option_mask32 & UNSOLICITED)
162
 
                exit(EXIT_SUCCESS);
 
163
                exit_SUCCESS();
163
164
        exit(!received);
164
165
}
165
166