Hook network protocols

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-02 00:07:55 +02:00
parent 975cffff74
commit 9a9852df79
6 changed files with 87 additions and 16 deletions

View file

@ -95,7 +95,7 @@ grub_fs_probe (grub_device_t device)
}
}
else if (device->net)
return device->net->fs;
return device->net->protocol;
grub_error (GRUB_ERR_UNKNOWN_FS, "unknown filesystem");
return 0;