geng zhu created an issue:
https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/7
## Summary
<!--
Please provide as much information as possible such as error messages or
attaching logs
-->
- freebsd/sbin/ping/ping.c has a bug brought when merging code from FreeBSD,
where alarmtimeout、df、preload、tos has random init value and causes ping failed
in some cases
```
#ifndef __rtems__
alarmtimeout = df = preload = tos = 0;
#endif /* __rtems__ */
```
- I modified code as following and works ok now
```
#ifndef __rtems__
alarmtimeout = df = preload = tos = 0;
#else
df = preload = tos = 0;
#endif /* __rtems__ */
```
## Steps to reproduce
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-libbsd/-/issues/7
You're receiving this email because of your account on gitlab.rtems.org.
_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs