diff options
Diffstat (limited to 'testsuite/init01/test_main.c')
-rw-r--r-- | testsuite/init01/test_main.c | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/testsuite/init01/test_main.c b/testsuite/init01/test_main.c index 3e7c43e8..649a578b 100644 --- a/testsuite/init01/test_main.c +++ b/testsuite/init01/test_main.c @@ -21,3 +21,29 @@ void test_main(void) printf( "*** END OF LIBFREEBSD INITIALIZATION TEST ***\n" ); exit( 0 ); } + +/* for old configuration structure */ +#include <rtems/rtems_bsdnet.h> + +/* + * Network configuration + */ +struct rtems_bsdnet_config rtems_bsdnet_config = { + NULL, /* Network interface */ + NULL, /* Use fixed network configuration */ + 0, /* Default network task priority */ + 0, /* Default mbuf capacity */ + 0, /* Default mbuf cluster capacity */ + "testSystem", /* Host name */ + "nowhere.com", /* Domain name */ + "127.0.0.1", /* Gateway */ + "127.0.0.1", /* Log host */ + {"127.0.0.1" }, /* Name server(s) */ + {"127.0.0.1" }, /* NTP server(s) */ + 0, + 0, + 0, + 0, + 0 +}; + |