Subversion Repositories uuid_mac_utils

Rev

Rev 9 | Rev 15 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 10
Line 160... Line 160...
160
                                        }
160
                                        }
161
                                        echo sprintf("%-24s %s\n", "Node ID:", "$nodeid");
161
                                        echo sprintf("%-24s %s\n", "Node ID:", "$nodeid");
162
 
162
 
163
                                        if (function_exists('decode_mac')) {
163
                                        if (function_exists('decode_mac')) {
164
                                                echo "\nIn case that this Node ID is a MAC address, here is the interpretation of that MAC address:\n";
164
                                                echo "\nIn case that this Node ID is a MAC address, here is the interpretation of that MAC address:\n";
165
                                                echo decode_mac($nodeid); /** @phpstan-ignore-line */
165
                                                echo decode_mac($nodeid);
166
                                        }
166
                                        }
167
 
167
 
168
                                        break;
168
                                        break;
169
                                case 2:
169
                                case 2:
170
                                        echo sprintf("%-24s %s\n", "Version:", "[2] DCE Security version");
170
                                        echo sprintf("%-24s %s\n", "Version:", "[2] DCE Security version");
Line 218... Line 218...
218
                                        }
218
                                        }
219
                                        echo sprintf("%-24s %s\n", "Node ID:", "$nodeid");
219
                                        echo sprintf("%-24s %s\n", "Node ID:", "$nodeid");
220
 
220
 
221
                                        if (function_exists('decode_mac')) {
221
                                        if (function_exists('decode_mac')) {
222
                                                echo "\nIn case that this Node ID is a MAC address, here is the interpretation of that MAC address:\n";
222
                                                echo "\nIn case that this Node ID is a MAC address, here is the interpretation of that MAC address:\n";
223
                                                echo decode_mac($nodeid); /** @phpstan-ignore-line */
223
                                                echo decode_mac($nodeid);
224
                                        }
224
                                        }
225
 
225
 
226
                                        break;
226
                                        break;
227
                                case 3:
227
                                case 3:
228
                                        echo sprintf("%-24s %s\n", "Version:", "[3] Name-based (MD5 hash)");
228
                                        echo sprintf("%-24s %s\n", "Version:", "[3] Name-based (MD5 hash)");