]> diplodocus.org Git - nmh/blobdiff - uip/pick.c
#ifdef AI_ADDRCONFIG since older IPv4-only systems may not define this flag,
[nmh] / uip / pick.c
index 7aa4870010d7eb01ba19cb544caf443a8407dc30..e0d61368af4c90ebd0053a7e1edffb0bffadca16 100644 (file)
@@ -153,6 +153,10 @@ main (int argc, char **argv)
                /* check if too many sequences specified */
                if (seqp >= NUMATTRS)
                    adios (NULL, "too many sequences (more than %d) specified", NUMATTRS);
+
+                if (!seq_nameok (cp))
+                  done (1);
+
                seqs[seqp++] = cp;
                continue;
            case PUBLSW: