- if(!ioctl(device_fd, TUNSETIFF, (void *) &ifr)) {
- strncpy(ifrname, ifr.ifr_name, IFNAMSIZ);
- interface = ifrname;
- } else if(!ioctl(device_fd, (('T' << 8) | 202), (void *) &ifr)) {
- logger(LOG_WARNING, _("Old ioctl() request was needed for %s"), device);
- strncpy(ifrname, ifr.ifr_name, IFNAMSIZ);
- interface = ifrname;
- } else
+ bool t1q = false;
+ if(get_config_bool(lookup_config(config_tree, "IffOneQueue"), &t1q) && t1q)
+ ifr.ifr_flags |= IFF_ONE_QUEUE;