poke-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Print also the IOD type as a response to ".info ios".


From: Egeyar Bagcioglu
Subject: Print also the IOD type as a response to ".info ios".
Date: Sun, 11 Oct 2020 16:26:37 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0

Hello,

I propose the attached patch to print also the IOD type as a response to ".info ios".

Changelog:
2020-10-11  Egeyar Bagcioglu  <egeyar@gmail.com>

        * libpoke/ios-dev-file.c (ios_dev_file_get_if_name): New.
        * libpoke/ios-dev-mem.c (ios_dev_mem_get_if_name): New.
        * libpoke/ios-dev-nbd.c (ios_dev_nbd_get_if_name): New.
        * libpoke/ios-dev.h (get_if_name): New.
        * libpoke/ios.c (ios_get_dev_if_name): New.
        * libpoke/ios.h (ios_get_dev_if_name): New.
        * libpoke/libpoke.c (pk_ios_get_dev_if_name): New.
        * libpoke/libpoke.h (pk_ios_get_dev_if_name): New.
        * poke/pk-cmd-ios.c (print_info_ios): Print interface name.
        * testsuite/poke.cmd/file-mode.pk: Adjust test output.
        * testsuite/poke.cmd/file-relative.pk: Adjust test output.

Regards
Ege

Attachment: print-IOD-type.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]