]>
git.proxmox.com Git - ifupdown-pve.git/blob - archhurd.c
7 #include "archcommon.h"
9 bool variable_match(const char *iface
, const char *variable
, const char *pattern
) {
10 if (!strcasecmp(variable
, "name"))
11 return fnmatch(pattern
, iface
, FNM_EXTMATCH
) == 0;
13 warnx("Unknown or unsupport pattern variable %s", variable
);