2011-04-20 20:33:09 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2009-2011, The Regents of the University of California,
|
|
|
|
* through Lawrence Berkeley National Laboratory (subject to receipt of any
|
|
|
|
* required approvals from the U.S. Dept. of Energy). All rights reserved.
|
|
|
|
*
|
|
|
|
* This code is distributed under a BSD style license, see the LICENSE file
|
|
|
|
* for complete information.
|
|
|
|
*/
|
|
|
|
|
2009-07-23 18:22:24 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <string.h>
|
|
|
|
|
2010-07-09 00:29:51 +00:00
|
|
|
#include "iperf_util.h"
|
2009-07-23 18:22:24 +00:00
|
|
|
|
|
|
|
int
|
|
|
|
main(int argc, char **argv)
|
|
|
|
{
|
2009-12-08 21:36:24 +00:00
|
|
|
char uuid[37];
|
2009-07-24 18:21:50 +00:00
|
|
|
get_uuid(uuid);
|
2009-10-19 22:35:18 +00:00
|
|
|
if (strlen(uuid) != 36)
|
2009-07-23 18:22:24 +00:00
|
|
|
{
|
2009-10-19 22:35:18 +00:00
|
|
|
printf("uuid is not 37 characters long %s.\n", uuid);
|
|
|
|
exit(-1);
|
2009-07-23 18:22:24 +00:00
|
|
|
}
|
|
|
|
exit(0);
|
|
|
|
}
|