diep should exit(1).
Remove superfluous printf.
Replace strlcpy with strndup.
Inlined copying payload struct into packet.
Replaced diep with err(3).
Removed old printfs.
Check to make sure that execvp has succeeded.