X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=second%2Ffs_of.c;h=3a8819c4b83f82c9342848712edb7fd5f311ec49;hp=77113b14ed8bb68f1f8e83a8aacda769c2510d74;hb=caa5b9fc39eab729963d70d9910b6319a866fae4;hpb=90288ad550b6494203ae58c8f64e6fae010fe62e diff --git a/second/fs_of.c b/second/fs_of.c index 77113b1..3a8819c 100644 --- a/second/fs_of.c +++ b/second/fs_of.c @@ -152,9 +152,9 @@ of_net_open(struct boot_file_t* file, } DEBUG_F("siaddr <%s>; filename <%s>; ciaddr <%s>; giaddr <%s>;" - " ipv6 <%d>\n", + " ipv6 <%d>; vtag <%s>\n", fspec->siaddr, filename, fspec->ciaddr, fspec->giaddr, - fspec->is_ipv6); + fspec->is_ipv6, fspec->vtag); strncpy(buffer, fspec->dev, 768); /* If we didn't get a ':' include one */ @@ -169,6 +169,13 @@ of_net_open(struct boot_file_t* file, DEBUG_F("Using %s tftp style\n", (new_tftp? "new": "old")); if (new_tftp) { + if (fspec->is_ipv6) + strcat(buffer, "ipv6,"); + + if (fspec->vtag) { + strcat(buffer, fspec->vtag); + strcat(buffer, ","); + } strcat(buffer, fspec->siaddr); strcat(buffer, ",");