  }
 diff -Naur packetdrill.orig/gtests/net/packetdrill/symbols_embox.c packetdrill/gtests/net/packetdrill/symbols_embox.c
 --- packetdrill.orig/gtests/net/packetdrill/symbols_embox.c	1970-01-01 03:00:00.000000000 +0300
-+++ packetdrill/gtests/net/packetdrill/symbols_embox.c	2014-07-17 14:23:44.575582639 +0400
++++ packetdrill/gtests/net/packetdrill/symbols_embox.c	2014-07-17 18:24:54.891822820 +0400
 @@ -0,0 +1,12 @@
 +
 +#ifdef __EMBOX__

 {
 	struct ifaddrs *ifaddrs_list, *ifaddr;
diff -Naur packetdrill.orig/gtests/net/packetdrill/Makefile.common packetdrill/gtests/net/packetdrill/Makefile.common
--- packetdrill.orig/gtests/net/packetdrill/Makefile.common	2014-07-17 14:24:27.725581543 +0400
+++ packetdrill/gtests/net/packetdrill/Makefile.common	2014-07-17 14:24:01.482248825 +0400
@@ -4,7 +4,7 @@
 
 parser.o: parser.y

diff -Naur packetdrill.orig/gtests/net/packetdrill/config.c packetdrill/gtests/net/packetdrill/config.c
--- packetdrill.orig/gtests/net/packetdrill/config.c	2014-07-18 14:37:14.093012197 +0400
+++ packetdrill/gtests/net/packetdrill/config.c	2014-07-18 14:37:24.116345235 +0400
@@ -482,7 +482,7 @@
 		config->argv[i] = strdup(argv[i]);
 
 	/* Parse the arguments. */
-	optind = 0;
+	optind = 1;
 	while ((c = getopt_long(argc, argv, "v", options, NULL)) > 0)
 		process_option(c, optarg, config, "Command Line");
 	return argv + optind;
diff -Naur packetdrill.orig/gtests/net/packetdrill/ip_address.c packetdrill/gtests/net/packetdrill/ip_address.c
--- packetdrill.orig/gtests/net/packetdrill/ip_address.c	2014-07-18 14:37:14.083012198 +0400
+++ packetdrill/gtests/net/packetdrill/ip_address.c	2014-07-17 18:24:54.888489486 +0400
@@ -168,7 +168,7 @@
 {
 	struct sockaddr_in sa_v4;
